Updates for go mod build by default

This commit is contained in:
Russ Magee 2019-12-21 09:45:25 -08:00
parent e3d818a14d
commit 1e474a4e6c
3 changed files with 15 additions and 2 deletions

View File

@ -88,7 +88,7 @@ fi
##
##* * * * 1 rm -rf $(find $HOME/bacillus/artifacts $HOME/bacillus/workdir -type d -mmin +1440 -name "bacillus_kD*")
##* * 1 * * rm -rf $(find $HOME/bacillus/artifacts $HOME/bacillus/workdir -type d -mmin +10080 -name "bacillus_kW*")
##0 * * * * curl -s --netrc-file $HOME/bacillus-auth.txt https://bacillus.blitter.com/onPush-hkexsh-build >/dev/null 2>&1
##0 * * * * curl -s --netrc-file $HOME/bacillus-auth.txt https://bacillus.blitter.com/onPush-xs-build >/dev/null 2>&1
##
bacillus -D="${DEMO}"\

View File

@ -7,7 +7,7 @@ export PATH=/usr/local/bin:/usr/bin:/usr/lib/ccache/bin:/bin
echo "workdir: ${BACILLUS_WORKDIR}"
mkdir -p "${BACILLUS_ARTFDIR}"
export GO111MODULE=auto
export GO111MODULE=on
export GOPATH="${HOME}/go"
# GOCACHE will be phased out in v1.12. [github.com/golang/go/issues/26809]
export GOCACHE="${HOME}/.cache/go-build"

13
go.mod
View File

@ -3,5 +3,18 @@ module blitter.com/go/bacillus
require (
blitter.com/go/brevity v1.0.0
blitter.com/go/moonphase v0.0.0-20190907205800-21dcee96c729
blitter.com/go/wanderer v0.0.0-20191027013024-067a8081b51d // indirect
blitter.com/go/xs v0.8.8
github.com/desertbit/grml v0.0.0-20190302155831-15d45782cae2 // indirect
github.com/jameskeane/bcrypt v0.0.0-20120420032655-c3cd44c1e20f
github.com/klauspost/cpuid v1.2.2 // indirect
github.com/klauspost/reedsolomon v1.9.3 // indirect
github.com/mattn/go-isatty v0.0.11
github.com/pkg/errors v0.8.1 // indirect
github.com/templexxx/cpufeat v0.0.0-20180724012125-cef66df7f161 // indirect
github.com/templexxx/xor v0.0.0-20181023030647-4e92f724b73b // indirect
github.com/tjfoc/gmsm v1.0.1 // indirect
github.com/xtaci/kcp-go v5.4.19+incompatible // indirect
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 // indirect
golang.org/x/sys v0.0.0-20191210023423-ac6580df4449
)