Add initial Makefile
This commit is contained in:
parent
82b4879d8a
commit
cd5ec21164
1 changed files with 24 additions and 0 deletions
24
Makefile
Normal file
24
Makefile
Normal file
|
@ -0,0 +1,24 @@
|
|||
.PHONY: default
|
||||
default:
|
||||
@echo "Choose a Makefile target:"
|
||||
@$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print " - " $$1}}' | sort
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
cargo test --workspace
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
cargo clean --workspace
|
||||
|
||||
.PHONY: serve
|
||||
serve:
|
||||
cargo run -- -vvv start memory
|
||||
|
||||
.PHONY: quick
|
||||
quick:
|
||||
cargo build
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
cargo build --release
|
Loading…
Reference in a new issue