diff options
author | dec05eba <dec05eba@protonmail.com> | 2017-12-28 17:14:04 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2017-12-28 17:15:53 +0100 |
commit | 22d522f6cd09e2c5f1678a0479be5dc19ca1eb15 (patch) | |
tree | 0cb6fc7733e8d4ccc9e67724e7fc2be56b2ae9fb /install.sh | |
parent | 1f583ebb6e3973c992d59886659bf53ff87f41de (diff) |
Replace cmake with sibs. Sibs builds itself now
If you dont already have sibs to build sibs, download first release:
https://github.com/DEC05EBA/sibs/archive/0.1.0.tar.gz
Then you can install new version of sibs
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -2,10 +2,8 @@ set -e -scriptpath="$(dirname "$0")" -mkdir -p "$scriptpath/build/release" -cd "$scriptpath/build/release" -cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../../ -ninja -sudo cp sibs /usr/bin/ -echo "Copied $scriptpath/build/release/sibs to /usr/bin/sibs" +project_dir=`dirname $0` +sibs build $project_dir --release +sudo cp "$project_dir/sibs-build/release/sibs" "/usr/bin/sibs" +echo "Copied $project_dir/sibs-build/release/sibs to /usr/bin/sibs" +echo "Installation successful!"
\ No newline at end of file |