Change to trace and make a deploy for tickle

This commit is contained in:
Bel LaPointe
2020-07-23 22:02:53 -06:00
parent 1411171107
commit 599d52cf8d
4 changed files with 20 additions and 7 deletions

12
deploy.sh Normal file
View File

@@ -0,0 +1,12 @@
#! /bin/bash
function main() {
cd "$(dirname "$BASH_SOURCE")"
set -e
GOOS=linux GOARCH=arm GOARM=5 CGO_ENABLED=0 go build -o $(basename "$PWD") -a -installsuffix cgo
scp ./dndex zach@192.168.1.123:./dndex/dndex.new
}
if [ "$0" == "$BASH_SOURCE" ]; then
main "$@"
fi