aboutsummaryrefslogtreecommitdiff
path: root/scripts/runall.sh
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2024-03-24 09:36:51 +0800
committerMistivia <i@mistivia.com>2024-03-24 09:36:51 +0800
commit1208bdd0fccc5f1e380053d8e0a7f4df6fe8f805 (patch)
treea4fddb7211a2782b3934cf02d80ef6d1734ec1c2 /scripts/runall.sh
git init
Diffstat (limited to 'scripts/runall.sh')
-rwxr-xr-xscripts/runall.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/runall.sh b/scripts/runall.sh
new file mode 100755
index 0000000..3fdc745
--- /dev/null
+++ b/scripts/runall.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+for var in "$@"; do
+ ./$var
+ if [ $? -ne 0 ]; then
+ exit 255
+ fi
+done
+