mirror of https://github.com/buster-so/buster.git
10 lines
321 B
Makefile
10 lines
321 B
Makefile
|
install: build
|
||
|
mkdir -p $(HOME)/.local/bin
|
||
|
cp cli/target/release/buster-cli $(HOME)/.local/bin/buster-local
|
||
|
grep -q '/.local/bin' $(HOME)/.zshrc || echo 'export PATH="$$HOME/.local/bin:$$PATH"' >> $(HOME)/.zshrc
|
||
|
@echo "Run 'source ~/.zshrc' to update your current shell"
|
||
|
|
||
|
build:
|
||
|
cargo build --release -p buster-cli
|
||
|
|