blob: 584e217c653f82670a5ca161bc4711097b71e7bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
@echo off
REM ---------------------------------------------------------------
REM -- Pre-Build Script
REM ---------------------------------------------------------------
REM
REM Generate file with proper revision number
REM
REM Expected parameters
REM Root folder
if "%~1"=="" goto error_input
REM Run the revision script
@call cscript "%~1/tools/create_project/scripts/revision.vbs" %~1 1>NUL
if not %errorlevel% == 0 goto error_script
goto done
:error_output
echo Invalid root folder (%~1)!
goto done
:error_script:
echo An error occured while running the revision script!
:done
exit /B0
|