aboutsummaryrefslogtreecommitdiff
path: root/install.sh
blob: c5e5c0a48c71115bedeaa12d15a9ab3bae52d35d (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash

set -e

scriptpath="$(dirname "$0")"
mkdir -p "$scriptpath/build/debug"
cd "$scriptpath/build/debug"
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../../
ninja
sudo cp sibs /usr/bin/
echo "Copied $scriptpath/build/debug/sibs to /usr/bin/sibs"