violet/Makefile

14 lines
323 B
Makefile
Raw Normal View History

2021-07-28 20:13:38 +03:00
violet:
2021-07-28 13:22:19 +03:00
cargo build --release
2021-07-28 20:13:38 +03:00
install-root:
cp -f target/release/violet /usr/local/bin/violet
cp -f scripts/init.sh /usr/local/bin/violet-init.sh
2021-07-28 13:22:19 +03:00
install:
2021-07-28 20:13:38 +03:00
cp -f target/release/violet ~/.local/bin/violet
cp -f scripts/init.sh ~/.local/bin/init.sh
2021-07-28 13:22:19 +03:00
remove:
2021-07-28 20:13:38 +03:00
rm /usr/local/bin/violet
2021-07-28 13:22:19 +03:00
clean:
rm Cargo.lock
rm -rf target