-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (24 loc) · 944 Bytes
/
Makefile
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
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
build: ## Build the site
@if [ "${CF_PAGES}" = 1 ]; then \
if [ "${CF_PAGES_BRANCH}" = main ]; then \
yarn build; \
else \
yarn build:preview; \
fi \
else \
HUGO_BASE_URL=http://localhost:1313 yarn build; \
fi
devserver: ## Start the dev environment server. This will be run in the foreground.
@docker compose -p illumitacit_policies \
-f ./deployments/dev/docker/app.docker-compose.yml \
up
cleandevserver: ## Shut down the dev server.
# Destroying dev server containers.
@docker compose -p illumitacit_policies \
-f ./deployments/dev/docker/app.docker-compose.yml \
down
cleandevcache: ## Destroy cache volumes (e.g., node, parcel, go packages).
# Destroying cache volumes for dev server
@docker volume rm illumitacit_policies_nodemodules illumitacit_policies_parcelcache || true