aboutsummaryrefslogtreecommitdiff
path: root/run.sh
blob: cb82eb5a4c46642fc4f7340e29915620181da07a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

[ $# -lt 1 ] && echo "usage: run.sh debug|release <args...>" && 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" "${@:2}"