aboutsummaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/run.sh b/run.sh
new file mode 100755
index 0000000..d9ad3d3
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+[ $# -ne 1 ] && echo "usage: run.sh debug|release" && exit 1
+
+script_dir=$(dirname "$0")
+cd "$script_dir"
+
+sibs build --"$1" video_player
+sibs build --"$1"
+echo "Successfully built the video player and QuickMedia"
+
+"./sibs-build/$(sibs platform)/$1/quickmedia"