aboutsummaryrefslogtreecommitdiff
path: root/ci/run_tests.bat
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-07-21 16:19:01 -0600
committerOndřej Čertík <ondrej@certik.us>2020-07-21 16:19:01 -0600
commit3bb8b39eccafc5acb0ee08a201c09aa0e828ce28 (patch)
tree39d075631ef9dbe8eb418e151fcc4ca8146b02bb /ci/run_tests.bat
parent6de7f236b3784c7e2cf3b8cf3efc06ee5e84f2d5 (diff)
downloadfpm-3bb8b39eccafc5acb0ee08a201c09aa0e828ce28.tar.gz
fpm-3bb8b39eccafc5acb0ee08a201c09aa0e828ce28.zip
Extract the CI tests into a Bash and Batch files
Diffstat (limited to 'ci/run_tests.bat')
-rwxr-xr-xci/run_tests.bat19
1 files changed, 19 insertions, 0 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat
new file mode 100755
index 0000000..258eae8
--- /dev/null
+++ b/ci/run_tests.bat
@@ -0,0 +1,19 @@
+@echo on
+
+cd fpm
+if errorlevel 1 exit 1
+
+fpm build
+if errorlevel 1 exit 1
+
+fpm run
+if errorlevel 1 exit 1
+
+fpm run --args build
+if errorlevel 1 exit 1
+
+cd ..\test\example_packages\hello_world
+if errorlevel 1 exit 1
+
+..\..\..\fpm\fpm build
+if errorlevel 1 exit 1