蛋蛋星球 后台端
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
235 B

  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