广告平台(站长使用)
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
12345678910111213
  1. @echo off
  2. set Name=task
  3. set BasePath=%~dp0
  4. set APP=%Name%.exe
  5. set CfgPath=%BasePath%etc\%Name%.yml
  6. del %BasePath%\bin\%APP%
  7. go build -o %BasePath%\bin\%APP% %BasePath%\cmd\%Name%\main.go && %BasePath%\bin\%APP% -c=%CfgPath%
  8. pause