You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
392 B
26 lines
392 B
.PHONY: _pre_build debug release run clean unit integration test |
|
|
|
CARGO=./scripts/cargo_musl.sh |
|
|
|
clean: |
|
${CARGO} clean |
|
|
|
_pre_build: |
|
docker build -t unki/musllibs ./muslrust |
|
|
|
debug: _pre_build |
|
${CARGO} build |
|
|
|
release: _pre_build |
|
${CARGO} build --release |
|
|
|
run: build |
|
${CARGO} run |
|
|
|
unit: |
|
${CARGO} test --lib |
|
|
|
integration: |
|
cd ./integration && ./integration_tests.sh |
|
|
|
test: unit integration |