Files
2026-06-24 17:27:50 +08:00

47 lines
725 B
Makefile

SHELL := /bin/bash
APP_DIR := app
APP_MAKE := $(MAKE) -C $(APP_DIR) --no-print-directory
COMPOSE := docker compose -f $(APP_DIR)/docker-compose.yml
.PHONY: check smoke data-hash migrate-sqlite-dry-run migrate-sqlite build up ps health deploy logs install-gitea-backup compose-config
check:
$(APP_MAKE) check
smoke:
$(APP_MAKE) smoke
data-hash:
$(APP_MAKE) data-hash
migrate-sqlite-dry-run:
$(APP_MAKE) migrate-sqlite-dry-run
migrate-sqlite:
$(APP_MAKE) migrate-sqlite
build:
$(APP_MAKE) build
up:
$(APP_MAKE) up
ps:
$(APP_MAKE) ps
health:
$(APP_MAKE) health
deploy:
$(APP_MAKE) deploy
logs:
$(APP_MAKE) logs
install-gitea-backup:
$(APP_MAKE) install-gitea-backup
compose-config:
$(COMPOSE) config