aboutsummaryrefslogtreecommitdiff
path: root/download_sample_resources.bat
blob: d15bd9d1bc471233f9e871ea951cc9bc73d956b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
:: Reset errorlevel status so we are not inheriting this state from the calling process:
@call :CLEAN_EXIT

:: Run packman to pull resources
@echo Running packman to pull resources...
@call "%~dp0buildtools\packman\packman.cmd" pull "%~dp0\samples\resources\configs\resources.xml"
@if %ERRORLEVEL% neq 0 (
    @exit /b %errorlevel%
) else (
    @echo Success!
)

:CLEAN_EXIT
@exit /b 0