mirror of
https://github.com/vacp2p/zerokit.git
synced 2025-02-12 06:26:34 +00:00
bb7dfb80ee
* feat(ci): cross-compile release assets, cache deps chore(ci): add caching to regular tests * fix(ci): include cross only in ci env, add note about release assets
24 lines
396 B
Makefile
24 lines
396 B
Makefile
.PHONY: all installdeps build test clean
|
|
|
|
all: .pre-build build
|
|
|
|
.fetch-submodules:
|
|
@git submodule update --init --recursive
|
|
|
|
.pre-build: .fetch-submodules
|
|
@cargo install cargo-make
|
|
ifdef CI
|
|
@cargo install cross --git https://github.com/cross-rs/cross --branch main
|
|
endif
|
|
|
|
installdeps: .pre-build
|
|
|
|
build: .pre-build
|
|
@cargo make build
|
|
|
|
test: .pre-build
|
|
@cargo make test
|
|
|
|
clean:
|
|
@cargo clean
|