aboutsummaryrefslogtreecommitdiff
path: root/NvBlast/download_sample_resources.bat
diff options
context:
space:
mode:
Diffstat (limited to 'NvBlast/download_sample_resources.bat')
-rw-r--r--NvBlast/download_sample_resources.bat14
1 files changed, 14 insertions, 0 deletions
diff --git a/NvBlast/download_sample_resources.bat b/NvBlast/download_sample_resources.bat
new file mode 100644
index 0000000..2de31b5
--- /dev/null
+++ b/NvBlast/download_sample_resources.bat
@@ -0,0 +1,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\windows\packman.cmd" %PM_OPTIONS_EXT% pull "%~dp0\samples\resources\configs\resources.xml" --platform win
+@if %ERRORLEVEL% neq 0 (
+ @exit /b %errorlevel%
+) else (
+ @echo Success!
+)
+
+:CLEAN_EXIT
+@exit /b 0 \ No newline at end of file