mirror of
https://github.com/morgan9e/bitwarden-desktop-agent
synced 2026-04-14 00:04:06 +09:00
add Makefile
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
PREFIX ?= $(HOME)/.local/bin
|
||||||
|
|
||||||
|
all:
|
||||||
|
cargo build --release
|
||||||
|
|
||||||
|
install: all
|
||||||
|
mkdir -p $(PREFIX)
|
||||||
|
install -m 755 target/release/bw-agent $(PREFIX)/bw-agent
|
||||||
|
install -m 755 target/release/bw-proxy $(PREFIX)/bw-proxy
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -f $(PREFIX)/bw-agent $(PREFIX)/bw-proxy
|
||||||
|
|
||||||
|
clean:
|
||||||
|
cargo clean
|
||||||
|
|
||||||
|
.PHONY: all install uninstall clean
|
||||||
Reference in New Issue
Block a user