breadpi-client/Makefile
2024-07-28 16:14:18 +12:00

22 lines
295 B
Makefile

build:
@cargo build
clean:
@rm -rf target
release: clean
@cargo build --release
update: release
@sudo cp target/release/bp /usr/bin
@echo "Copied release file to /usr/bin"
test:
if [ -eq $(uname), Darwin ]; then
echo "macos"
fi
if [ -eq $(uname), Linux ]; then
echo "linux"
fi