From 4bd50bdadff89a472c362f115a0078a02c7f4747 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 14 Jan 2025 20:59:32 +0000 Subject: [PATCH] build: justfile adds test and shell recipes --- justfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 2071a21..c1a8fa3 100644 --- a/justfile +++ b/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