Refactoring of IIS build scripts

This commit is contained in:
Victor Hora
2017-07-17 08:43:20 -03:00
committed by Felipe Zimmerle
parent 61bce8d9a9
commit 1e8b4669eb
7 changed files with 177 additions and 82 deletions

View File

@@ -0,0 +1,20 @@
@cd "%WORK_DIR%"
@if NOT EXIST "%SOURCE_DIR%\%CMAKE%" goto file_not_found
@7z.exe x "%SOURCE_DIR%\%CMAKE%"
@if NOT (%ERRORLEVEL%) == (0) goto something_went_wrong
@exit /B 0
:file_not_found
@echo File not found: %SOURCE_DIR%\%CMAKE%
@goto failed
:something_went_wrong
@echo Something went wrong while unzip CMake files.
@goto failed
:failed
@exit /B 1