2
0

Version 1

This commit is contained in:
MangoPig
2026-06-23 18:50:37 +01:00
commit 55d9772272
133 changed files with 21515 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
project_root := justfile_directory()
backend_dir := project_root + "/Backend"
# Format backend Go source files.
fmt:
cd '{{backend_dir}}' && gofmt -w ./cmd ./internal
# Run backend test suite.
test:
cd '{{backend_dir}}' && go test ./...
# Open a psql shell into the local Royal Pop database container.
psql:
docker compose -f '{{project_root}}/Docker/docker-compose.local.dev.yaml' exec postgres psql -U royalpop -d royalpop
# Run backend module cleanup.
tidy:
cd '{{backend_dir}}' && go mod tidy