29 lines
678 B
Makefile
29 lines
678 B
Makefile
DEV_COMPOSE = docker compose -f compose-dev.yml --env-file dev.env
|
|
|
|
.PHONY: dev-up dev-shell dev-down dev-logs dev-build dev-run smoke-keyoapp-plain smoke-keyoapp-plain-dev
|
|
|
|
dev-build:
|
|
$(DEV_COMPOSE) build dev
|
|
|
|
dev-up:
|
|
$(DEV_COMPOSE) up -d
|
|
|
|
dev-run:
|
|
$(DEV_COMPOSE) up dev
|
|
|
|
dev-shell:
|
|
$(DEV_COMPOSE) exec dev sh
|
|
|
|
dev-down:
|
|
$(DEV_COMPOSE) down
|
|
|
|
dev-logs:
|
|
$(DEV_COMPOSE) logs -f --tail=100
|
|
|
|
smoke-keyoapp-plain:
|
|
GOYOMI_SMOKE=1 go test -count=1 -v ./sources -run TestStandaloneKeyoappSmoke
|
|
|
|
smoke-keyoapp-plain-dev:
|
|
$(DEV_COMPOSE) up -d postgres flaresolverr dev
|
|
$(DEV_COMPOSE) exec dev sh -lc "GOYOMI_SMOKE=1 go test -count=1 -v ./sources -run TestStandaloneKeyoappSmoke"
|