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.
|
|
|
.PHONY: _pre_build debug release run clean unit-tests integration-tests 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-tests:
|
|
|
|
${CARGO} test --lib
|
|
|
|
|
|
|
|
integration-tests:
|
|
|
|
cd ./integration && ./integration_tests.sh
|
|
|
|
|
|
|
|
test: unit-tests integration-tests
|