广告平台(站长使用)
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.

cmd_run.sh 214 B

4 kuukautta sitten
12345678
  1. #!/bin/bash
  2. APP=applet
  3. BasePath=$(dirname $(readlink -f $0))
  4. CfgPath=$BasePath/etc/cfg.yml
  5. cd $BasePath
  6. rm -rf $BasePath/bin/$APP
  7. go build -o $BasePath/bin/$APP $BasePath/main.go \
  8. && $BasePath/bin/$APP -c=$CfgPath