Files
wanderer/Makefile
Jonas Plum 359957017f Enable integration tests (#760)
* Enable integration tests

* Install chromium

* Enable webServer

* Run docker compose

* Build docker images

* Set working dir

* Add Makefile

* Fix healthcheck
2026-02-05 08:40:26 +01:00

44 lines
763 B
Makefile

## db
.PHONY: db-fmt
db-fmt:
cd db && go fmt ./...
.PHONY: db-vet
db-vet:
cd db && go vet ./...
.PHONY: db-test
db-test:
cd db && go test ./...
.PHONY: db-build
db-build:
cd db && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pocketbase_amd64
.PHONY: db-build-docker
db-build-docker: db-build
docker buildx build db/ --no-cache -t flomp/wanderer-db:latest
## Web
.PHONY: web-install
web-install:
cd web && npm install
.PHONY: web-playwright-install
web-playwright-install:
cd web && npx playwright install --with-deps chromium
.PHONY: web-check
web-check:
cd web && npm run check
.PHONY: web-test
web-test:
cd web && npm run test
.PHONY: web-build-docker
web-build-docker:
docker buildx build web/ --no-cache -t flomp/wanderer-web:latest