21 lines
440 B
Makefile
21 lines
440 B
Makefile
dist: target-release
|
|
if test ! -d dist ; then mkdir dist ; fi
|
|
cp target/release/skip dist/
|
|
|
|
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
|
|
|
|
target-release: unittest inttest
|
|
cargo build --release
|
|
|
|
inttest: target-debug
|
|
./test.sh
|
|
|
|
unittest: target-debug
|
|
cargo test
|
|
|
|
target-debug:
|
|
cargo build
|