bootstrap.cmd 661 B

12345678910111213141516171819202122232425262728
  1. @echo off
  2. echo * Bootstrap started to setup environment
  3. set nuget=D:\Projects\nuget.exe
  4. set nugetrepo=D:\Projects\quadarax\@nuget.repo
  5. rem ** check if directories exists **
  6. if not exist "%nuget%" goto err_locnuget_not_found
  7. if not exist "%nugetrepo%" goto err_locnugetrepo_not_found
  8. goto done
  9. :err_bin_not_found
  10. echo ERR: missing 'bin' directory in current location
  11. goto exit
  12. :err_locnuget_not_found
  13. echo ERR: cannot find nuget.exe '%nuget%' or path is invalid.
  14. goto exit
  15. :err_locnugetrepo_not_found
  16. echo ERR: cannot find nuget repository '%nugetrepo%' or path is invalid.
  17. goto exit
  18. :done
  19. echo * Bootstrap succesfuly set
  20. :exit