diff options
| author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2018-06-22 16:19:58 -0700 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-06-23 01:19:58 +0200 |
| commit | a2064ca89c21500b4e0c9c5a42a862c58b7c813b (patch) | |
| tree | bd9087b74fe71c77fb63ef611ae899ad3eaae9c3 | |
| parent | 1330553be1097bc1101c82e03cf8aaab414af9b1 (diff) | |
Update README to reflect on Go removal; Improve compile instructions (#283)
| -rw-r--r-- | README.md | 29 |
1 files changed, 17 insertions, 12 deletions
@@ -22,7 +22,7 @@ code. Defaults to read-only file system access and no network access. Access between V8 (unprivileged) and Golang (privileged) is only done via serialized messages defined in this - [protobuf](https://github.com/ry/deno/blob/master/msg.proto). This makes it + [protobuf](https://github.com/ry/deno/blob/master/src/msg.proto). This makes it easy to audit. To enable write access explicitly use `--allow-write` and `--allow-net` for network access. @@ -47,17 +47,10 @@ * Aims to be browser compatible. -* Can be used as a library to easily build your own JavaScript runtime. - https://github.com/ry/deno/blob/master/cmd/main.go - ## Status -Segfaulty. - -No docs yet. For some of the public API see: [deno.d.ts](https://github.com/ry/deno/blob/master/deno.d.ts). - -And examples are around here: [testdata/004_set_timeout.ts](https://github.com/ry/deno/blob/master/testdata/004_set_timeout.ts). +Segfaulty. Check back soon. Roadmap is [here](https://github.com/ry/deno/blob/master/Roadmap.md). @@ -72,15 +65,27 @@ includes submitting trivial PRs (like improving README build instructions). ## Compile instructions -First install the javascript deps. +Get [Depot Tools](http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up) and make sure it's in your path. + +You need [yarn](https://yarnpkg.com/lang/en/docs/install/) installed. + +Go to `src/` folder: +``` bash +cd src/ +``` + +Fetch packages and v8: +``` bash +gclient sync --no-history +``` - cd src +Install the javascript deps. cd js; yarn install gn gen out/Debug --args='cc_wrapper="ccache" is_debug=true ' -Then build with ninja: +Then build with ninja (will take a while to complete): ninja -C out/Debug/ deno |
