https://github.com/pseudomuto/v8-install
Scripts to install a standalone version of Google's V8 for all users
https://github.com/pseudomuto/v8-install
Last synced: about 1 year ago
JSON representation
Scripts to install a standalone version of Google's V8 for all users
- Host: GitHub
- URL: https://github.com/pseudomuto/v8-install
- Owner: pseudomuto
- Created: 2013-05-08T02:01:59.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-08T03:42:21.000Z (about 13 years ago)
- Last Synced: 2025-01-30T14:52:36.558Z (over 1 year ago)
- Language: Shell
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# v8-install
Scripts to install a standalone version of Google's V8 for all users on the system
## Dependencies
Git
## Installation
Clone this repo and run install.sh
$ git clone git://github.com/davidmuto/v8-install.git && cd v8-install
$ sudo ./install.sh
The script performs the following actions:
* clones/pulls the v8 repo to /usr/local/src/v8
* creates the following symlinks (link -> source):
* /usr/local/bin/v8 -> /usr/local/src/v8/out/native/shell
* /usr/local/bin/d8 -> /usr/local/src/v8/out/native/d8
* /usr/include/v8 -> /usr/local/src/include
To use V8 in an app include the following:
#include
To test the shell just run v8/d8 from any directory
## Updating V8
CD to the repo directory and run the same script to update the repo, rebuild and update the symlinks
$ sudo ./install.sh
## Coming Soon
Windows installation