10 lines
220 B
Makefile
10 lines
220 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
|
|
|
|
shell: build
|
|
docker run --rm -it -v $PWD:/app/ {{ image }} bash
|