violet/Makefile
2021-07-29 12:12:15 +02:00

17 lines
429 B
Makefile

violet:
@echo ":: Running cargo..."
cargo build --release
install-root:
@echo ":: Installing..."
cp -f target/release/violet /usr/local/bin/violet
cp -f scripts/init.sh /usr/local/bin/violet-init
install:
@echo ":: Installing..."
cp -f target/release/violet ~/.local/bin/violet
cp -f scripts/init.sh ~/.local/bin/init
remove:
@echo ":: Removing..."
rm /usr/local/bin/violet
clean:
@echo ":: Cleaning..."
cargo clean