Mercurial > hg > Members > anatofuz > ie-virsh
changeset 56:cf297f7443c7
add Makefile
author | AnaTofuZ <anatofuz@gmail.com> |
---|---|
date | Tue, 24 Nov 2020 11:49:00 +0900 |
parents | 833d55f0b5bd |
children | 3d7eb973488b |
files | Makefile debug-deploy.sh deploy.sh |
diffstat | 3 files changed, 18 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Tue Nov 24 11:49:00 2020 +0900 @@ -0,0 +1,18 @@ +.PHONY: build release fmt debug-chown + +build: + cargo build + +release: + cargo build --release + sudo chown root ./target/release/ie-virsh + sudo chmod 4711 ./target/release/ie-virsh + +fmt: + cargo fmt + cargo clippy + +debug-chown:build + sudo chown root ./target/debug/ie-virsh + sudo chmod 4711 ./target/debug/ie-virsh +