build: justfile adds test and shell recipes
This commit is contained in:
parent
28d34eb85d
commit
4bd50bdadf
1 changed files with 9 additions and 1 deletions
10
justfile
10
justfile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue