From 59ab430b06cb0cd1c9bd1a9298a472ec40743fc7 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 2 Mar 2024 04:41:34 +0100 Subject: [PATCH 1/2] Justfile target for a complete test run --- Justfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index eadfabd..d4eb3a3 100644 --- a/Justfile +++ b/Justfile @@ -21,6 +21,14 @@ save-release: build-container-release load-release file: podman load --input {{file}} +# Tests every part of the project +testall: + cd backend && make test + cd backend && make lint + cd frontend && npm i + cd frontend && npm test + cd frontend && npm run lint + # Cleans up everything related to the project clean: remove-podman-containers podman image rm -f ttime-server @@ -33,4 +41,4 @@ clean: remove-podman-containers # Cleans up everything related to podman, not just the project. Make sure you understand what this means. [confirm] podman-clean: - podman system reset --force \ No newline at end of file + podman system reset --force From 9e790696a58e1c301ab04c43ade3f9f853e403a6 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 2 Mar 2024 04:47:12 +0100 Subject: [PATCH 2/2] Remove npm i from justfile testall target --- Justfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Justfile b/Justfile index d4eb3a3..0d99e3a 100644 --- a/Justfile +++ b/Justfile @@ -25,7 +25,6 @@ load-release file: testall: cd backend && make test cd backend && make lint - cd frontend && npm i cd frontend && npm test cd frontend && npm run lint