Add tests, stop omitting connections to skip a problem

This commit is contained in:
breel
2020-07-25 03:28:39 -06:00
parent 741f527d44
commit 3189ef20c7
3 changed files with 16 additions and 3 deletions

View File

@@ -3,7 +3,9 @@
function main() {
cd "$(dirname "$BASH_SOURCE")"
set -e
go test ./...
if [ -z "$NOTEST" ]; then
go test ./...
fi
GOOS=linux GOARCH=arm GOARM=5 CGO_ENABLED=0 go build -o $(basename "$PWD") -a -installsuffix cgo
scp ./public/swagger/* zach@tickle.lan:./dndex/files/swagger/
scp ./dndex zach@tickle.lan:./dndex/dndex.new