Change to trace and make a deploy for tickle
This commit is contained in:
12
deploy.sh
Normal file
12
deploy.sh
Normal 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
|
||||
Reference in New Issue
Block a user