2023-03-24 09:41:50 +00:00
|
|
|
dist: target-release
|
2023-03-23 16:05:37 +00:00
|
|
|
if test ! -d dist ; then mkdir dist ; fi
|
|
|
|
cp target/release/skip dist/
|
2025-01-16 10:03:31 +00:00
|
|
|
|
|
|
|
test-in-docker:
|
|
|
|
docker run --rm -v $PWD:/app/ git.kemitix.net/kemitix/rust:latest cargo test
|
|
|
|
|
|
|
|
shell-in-docker:
|
|
|
|
docker run --rm -it -v $PWD:/app/ git.kemitix.net/kemitix/rust:latest bash
|
2023-03-23 16:05:37 +00:00
|
|
|
|
2023-03-24 09:41:50 +00:00
|
|
|
target-release: unittest inttest
|
2023-03-23 16:05:37 +00:00
|
|
|
cargo build --release
|
|
|
|
|
2023-03-24 09:41:50 +00:00
|
|
|
inttest: target-debug
|
|
|
|
./test.sh
|
2023-03-23 16:05:37 +00:00
|
|
|
|
2023-03-24 09:41:50 +00:00
|
|
|
unittest: target-debug
|
2023-03-23 16:05:37 +00:00
|
|
|
cargo test
|
2023-03-24 09:41:50 +00:00
|
|
|
|
|
|
|
target-debug:
|
|
|
|
cargo build
|