aboutsummaryrefslogtreecommitdiff
path: root/run.sh
blob: d9ad3d3d7555b8f200340e49ff3f69c827e16001 (plain)
1
2
3
4
5
6
7
8
9
10
11
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"