OLD | NEW |
| (Empty) |
1 #!/bin/bash | |
2 # | |
3 # The continue_install script updates the webtry user's copy of skia and depot_t
ools. | |
4 # It then builds the webtry server outside the jail. | |
5 # | |
6 # The setup scripts should run this script as the 'webtry' user. | |
7 # | |
8 # See the README file for detailed installation instructions. | |
9 | |
10 # Install Go | |
11 | |
12 cd | |
13 | |
14 if [ -d go ]; then | |
15 echo Go already installed. | |
16 else | |
17 wget https://storage.googleapis.com/golang/go1.3.3.linux-amd64.tar.gz | |
18 tar -xzf go1.3.3.linux-amd64.tar.gz | |
19 fi | |
20 | |
21 mkdir ${HOME}/golib | |
22 export GOROOT=${HOME}/go | |
23 export GOPATH=${HOME}/golib | |
24 export PATH=$PATH:$GOROOT/bin | |
25 | |
26 # Install depot_tools. | |
27 if [ -d depot_tools ]; then | |
28 (cd depot_tools && git pull); | |
29 else | |
30 git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git; | |
31 fi | |
32 export PATH=$PATH:~/depot_tools | |
33 | |
34 # Checkout the skia code and dependencies (again) | |
35 mkdir skia | |
36 cd skia | |
37 gclient config --name . https://skia.googlesource.com/skia.git | |
38 gclient sync | |
39 git checkout master | |
40 | |
41 cd experimental/webtry | |
42 | |
43 go get -u skia.googlesource.com/buildbot.git/perf/go/logserver | |
44 go get -d | |
45 ./build | |
OLD | NEW |