rust/justfile
2025-01-16 08:39:28 +00:00

16 lines
358 B
Makefile

image := "git.kemitix.get/kemitix/rust:test"
build:
docker build . -t {{ image }}
test: build
docker run --rm -v $PWD:/app/ {{ image }} cargo test
clippy: build
docker run --rm -v $PWD:/app/ {{ image }} cargo clippy
run: build
docker run --rm -v $PWD:/app/ {{ image }} cargo run
shell: build
docker run --rm -it -v $PWD:/app/ {{ image }} bash