plc-mirror/metrics/Makefile

22 lines
349 B
Makefile
Raw Normal View History

2024-03-20 15:18:15 +01:00
.PHONY: all build up update down
# ---------------------------- Docker ----------------------------
all:
go test -v ./...
.env:
@cp example.env .env
@echo "Please edit .env to suit your environment before proceeding"
@exit 1
build: .env
@docker compose build
up: .env
@docker compose up -d --build
update: up
down:
@docker compose down