build: justfile adds test and shell recipes
All checks were successful
/ test (map[name:nightly]) (push) Successful in 17s
/ test (map[name:stable]) (push) Successful in 53s

This commit is contained in:
Paul Campbell 2025-01-14 20:59:32 +00:00
parent 28d34eb85d
commit 4bd50bdadf

View file

@ -1,2 +1,10 @@
image := "git.kemitix.get/kemitix/rust:test"
build:
docker build . -t git.kemitix.net/kemitix/rust:latest
docker build . -t {{ image }}
test: build
docker run --rm -v $PWD:/app/ {{ image }} cargo test
shell: build
docker run --rm -it -v $PWD:/app/ {{ image }} bash