File tree 5 files changed +6
-5
lines changed
5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ before_install: |
8
8
export GOROOT=$HOME/go
9
9
mkdir $GOROOT
10
10
install :
11
- - ./tools/ build.py --use_ccache
11
+ - ./build.py --use_ccache
12
12
script :
13
13
- ./tools/test.sh
Original file line number Diff line number Diff line change @@ -19,10 +19,11 @@ To install:
19
19
```
20
20
go get github.com/ry/v8worker2
21
21
cd `go env GOPATH`/src/github.com/ry/v8worker2
22
- ./tools/ build.py # Will take ~30 minutes to compile.
22
+ ./build.py # Will take ~30 minutes to compile.
23
23
go test
24
24
```
25
- If you have ccache installed, the build will take advantage of it.
25
+ If you have ccache installed, ` ./build.py --use_ccache ` will take advantage of
26
+ it. This is useful to avoid rebuilding V8 so much.
26
27
27
28
28
29
## JavaScript API
Original file line number Diff line number Diff line change 14
14
parser .set_defaults (rebuild = False , use_ccache = False )
15
15
args = parser .parse_args ()
16
16
17
- root_path = os .path .dirname (os .path .dirname ( os . path . realpath (__file__ ) ))
17
+ root_path = os .path .dirname (os .path .realpath (__file__ ))
18
18
prebuilt_path = os .path .join (root_path , "prebuilt" )
19
19
v8_path = os .path .join (root_path , "v8" )
20
20
out_path = os .path .join (root_path , "out/" )
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
set -e
3
- cd ` dirname " $0 " ` /..
3
+ cd ` dirname " $0 " `
4
4
clang-format -style=Google -i binding.cc binding.h
5
5
go fmt
File renamed without changes.
You can’t perform that action at this time.
0 commit comments