蛋蛋星球 后台端
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_task.bat 235 B

2 maanden geleden
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