2022-03-11 13:54:44 +01:00
|
|
|
ROOT = $(shell git rev-parse --show-toplevel)
|
|
|
|
|
|
|
|
build:
|
2022-03-13 13:43:13 +01:00
|
|
|
./scripts/build.sh -o $(ROOT)
|
|
|
|
|
|
|
|
release-build:
|
|
|
|
./scripts/build.sh -o $(ROOT) -r
|
2022-03-11 13:54:44 +01:00
|
|
|
|
|
|
|
test-all: test oci-integration-test integration-test
|
|
|
|
|
|
|
|
test: build
|
|
|
|
cd crates && cargo test
|
|
|
|
|
2022-03-14 14:08:37 +01:00
|
|
|
oci-integration-test: release-build
|
2022-03-11 13:54:44 +01:00
|
|
|
./scripts/oci_integration_tests.sh $(ROOT)
|
|
|
|
|
2022-03-14 14:08:37 +01:00
|
|
|
integration-test: release-build
|
2022-03-11 13:54:44 +01:00
|
|
|
./scripts/rust_integration_tests.sh $(ROOT)/youki
|
|
|
|
|
|
|
|
clean:
|
|
|
|
./scripts/clean.sh $(ROOT)
|