Justfile target for a complete test run

This commit is contained in:
Imbus 2024-03-02 04:41:34 +01:00
parent 7a12b946a6
commit 59ab430b06

View file

@ -21,6 +21,14 @@ save-release: build-container-release
load-release file: load-release file:
podman load --input {{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 # Cleans up everything related to the project
clean: remove-podman-containers clean: remove-podman-containers
podman image rm -f ttime-server 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. # Cleans up everything related to podman, not just the project. Make sure you understand what this means.
[confirm] [confirm]
podman-clean: podman-clean:
podman system reset --force podman system reset --force