广告平台(站长下代理使用)
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

hace 1 mes
123456789
  1. #!/bin/bash
  2. APP=task
  3. BasePath=$(dirname $(readlink -f $0))
  4. CfgPath=$BasePath/etc/task.yml
  5. cd $BasePath
  6. rm -rf $BasePath/bin/$APP
  7. go build -o $BasePath/bin/$APP $BasePath/cmd/$APP/main.go \
  8. && $BasePath/bin/$APP -c=$CfgPath