Installation script

This commit is contained in:
Mateusz Piątkowski 2022-09-18 19:15:38 +02:00
parent a217a09aec
commit 893d20cee1
2 changed files with 11 additions and 1 deletions

View File

@ -40,8 +40,10 @@ clean:
release: bin/musique
scripts/release
install: bin/musique
scripts/install
.PHONY: clean doc doc-open all test unit-tests release
.PHONY: clean doc doc-open all test unit-tests release install
$(shell mkdir -p bin/debug/tests)

8
scripts/install Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
set -xe
mkdir -p /usr/local/bin
cp -f bin/musique /usr/local/bin
chmod 755 /usr/local/bin/musique
echo "Musique installed."