xesite/build.sh

20 lines
316 B
Bash
Raw Normal View History

2017-01-09 22:58:07 +00:00
#!/bin/sh
2016-12-18 20:11:06 +00:00
2017-01-09 22:58:07 +00:00
set -e
2016-12-18 20:11:06 +00:00
set -x
2017-01-09 22:58:07 +00:00
export PATH="$PATH:/usr/local/go/bin"
2016-12-18 20:11:06 +00:00
export CI="true"
(cd /site/backend/christine.website
2017-01-09 22:58:07 +00:00
go get github.com/Xe/asarfs
go get github.com/gernest/front
go get layeh.com/asar
go get gopkg.in/yaml.v2
go get github.com/urfave/negroni
2016-12-18 20:11:06 +00:00
2017-01-09 22:58:07 +00:00
go build -v
mv christine.website /usr/bin) &
2017-01-09 21:41:39 +00:00
2016-12-18 20:11:06 +00:00
wait