File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,18 @@ go get -u -v github.com/qiniu/api.v6
18
18
go get -u -v github.com/dchest/captcha
19
19
go get -u -v github.com/lunny/html2md
20
20
21
- cp /etc/hosts ~ /hosts
22
- # echo "golang.org 101.251.196.90" > /etc/hosts
23
- echo " 127.0.0.1 golang.org" > /etc/hosts
21
+ if [ ! -d " src/golang.org/x/text" ]; then
22
+ git clone https://github.com/golang/text src/golang.org/x/text
23
+ fi
24
+ go install golang.org/x/text/...
24
25
25
- trap " mv ~/hosts /etc/hosts" HUP INT QUIT TSTP
26
+ if [ ! -d " src/golang.org/x/net" ]; then
27
+ git clone https://github.com/golang/net src/golang.org/x/net
28
+ fi
29
+ go install golang.org/x/net/...
26
30
27
31
go get -u -v github.com/PuerkitoBio/goquery
28
32
29
- if [ -f ~ /hosts ]; then
30
- mv ~ /hosts /etc/hosts
31
- fi
32
33
33
34
export GOPATH=" $OLDGOPATH "
34
35
export PATH=" $OLDPATH "
You can’t perform that action at this time.
0 commit comments