rust/justfile

14 lines
292 B
Makefile
Raw Normal View History

image := "git.kemitix.get/kemitix/rust:test"
2025-01-14 20:09:30 +00:00
build:
docker build . -t {{ image }}
test: build
docker run --rm -v $PWD:/app/ {{ image }} cargo test
2025-01-14 20:59:32 +00:00
clippy: build
docker run --rm -v $PWD:/app/ {{ image }} cargo clippy
shell: build
docker run --rm -it -v $PWD:/app/ {{ image }} bash