You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
- APP=applet
- BasePath=$(dirname $(readlink -f $0))
- CfgPath=$BasePath/etc/cfg.yml
- cd $BasePath
- rm -rf $BasePath/bin/$APP
- go build -o $BasePath/bin/$APP $BasePath/main.go \
- && $BasePath/bin/$APP -c=$CfgPath
|