| 123456789101112131415161718192021 |
- @echo off
- rem ** check if directories exists **
- if not exist "bin" goto err_bin_not_found
- rem ** cleanup **
- rmdir /s /q bin\release
- rem ** build **
- dotnet build -c Release
- goto done
- :err_bin_not_found
- echo ERR: missing 'bin' directory in current location
- goto exit
- :done
- echo *** DONE ***
- :exit
|