-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (28 loc) · 730 Bytes
/
Makefile
File metadata and controls
34 lines (28 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.PHONY: help
help:
@echo "Available targets:"
@echo " make dev - Run in Dev mode"
@echo " make start - Run in Production mode"
@echo " make lint - Lint the code"
@echo " make format - Format the code"
@echo " make docker-dev - Run in Dev mode with Docker"
@echo " make docker-clean - Remove Docker containers"
@echo " make help - Display this help message"
.PHONY: dev
dev:
deno task dev
.PHONY: start
start:
deno task start
.PHONY: lint
lint:
deno lint
.PHONY: format
format:
deno fmt
.PHONY: docker-dev
docker-dev:
docker compose -f compose-dev.yaml up -w
.PHONY: docker-clean
docker-clean:
docker compose -f compose-dev.yaml down && docker compose down