rust/justfile
Paul Campbell db523065e0
All checks were successful
/ test (map[name:nightly]) (push) Successful in 43s
/ test (map[name:stable]) (push) Successful in 45s
feat: remove openssl transitive dependency
2025-01-18 20:53:11 +00:00

19 lines
424 B
Makefile

image := "git.kemitix.net/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