box: go 1.10
This commit is contained in:
parent
b7d76b5ff7
commit
ac50a1e8ed
7
box.rb
7
box.rb
|
@ -1,7 +1,4 @@
|
||||||
from "xena/go-mini:1.9.4"
|
from "xena/go:1.10"
|
||||||
|
|
||||||
### setup go
|
|
||||||
run "go1.9.4 download"
|
|
||||||
|
|
||||||
### Copy files
|
### Copy files
|
||||||
run "mkdir -p /site"
|
run "mkdir -p /site"
|
||||||
|
@ -27,7 +24,7 @@ files.each { |x| put x }
|
||||||
copy "vendor/", "/root/go/src/"
|
copy "vendor/", "/root/go/src/"
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
run "cd /site && go1.9.4 build -v"
|
run "cd /site && go build -v"
|
||||||
|
|
||||||
### Cleanup
|
### Cleanup
|
||||||
run %q[ rm -rf /root/go /site/backend /root/sdk /site/*.go ]
|
run %q[ rm -rf /root/go /site/backend /root/sdk /site/*.go ]
|
||||||
|
|
Loading…
Reference in New Issue