rust/justfile
Paul Campbell 05d4233d3f
All checks were successful
/ test (map[name:nightly]) (push) Successful in 53s
/ test (map[name:stable]) (push) Successful in 56s
build: add fmt recipe to justfile
2025-01-16 08:40:00 +00:00

19 lines
424 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
fmt: build
docker run --rm -v $PWD:/app/ {{ image }} cargo fmt
shell: build
docker run --rm -it -v $PWD:/app/ {{ image }} bash