-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (26 loc) · 800 Bytes
/
Makefile
File metadata and controls
30 lines (26 loc) · 800 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
.PHONY: help
help: # @HELP Print this message
help:
@echo "TARGETS:"
@grep -E '^.*: *# *@HELP' $(MAKEFILE_LIST) \
| awk ' \
BEGIN {FS = ": *# *@HELP"}; \
{ printf " %-20s %s\n", $$1, $$2 }; \
'
.PHONY: setup
setup: # @HELP Build the development containers and install app dependencies
setup: update
@echo "Successfully built containers and installed dependencies."
.PHONY: up
up: # @HELP Start the development server
up:
@docker compose up
.PHONY: down
down: # @HELP Tear down the development containers
down:
@docker compose down
.PHONY: update
update: # @HELP Install and/or update dependencies for the vite container
update:
@echo "Installing / updating dependencies ..."
@docker compose run --rm vite npm ci