mirror of
https://github.com/vacp2p/zerokit.git
synced 2025-02-12 06:26:34 +00:00
1502315605
* feat: add Makefile with pre build check. add targets for build, test and clean * feat: add workspace level build file * chore: add skeletal build files for each crate * chore: remove environment variable to extend workspace makefile * chore: formatting * chore: add release flags to all builds/tests
16 lines
199 B
Makefile
16 lines
199 B
Makefile
.PHONY: all test clean
|
|
|
|
all: .pre-build
|
|
@cargo make build
|
|
|
|
.pre-build:
|
|
ifndef $(cargo make --help)
|
|
@cargo install --force cargo-make
|
|
endif
|
|
|
|
test: .pre-build
|
|
@cargo make test
|
|
|
|
clean:
|
|
@cargo clean
|