-
-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 632 Bytes
/
Makefile
File metadata and controls
28 lines (22 loc) · 632 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
.DEFAULT_GOAL := help
help: ## Show available commands
@echo "Available commands:"
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) \
| awk 'BEGIN {FS = ":.*?## "}; {printf " %-20s %s\n", $$1, $$2}'
init: ## Install dependencies
npm install
build: ## Build the documentation
npm run build
preview: ## Preview the build
npm run preview
dev: ## Run development server
npm run dev
po4a: ## Run translation tools
./_translations/prepare-config.sh && \
docker run --rm \
--user $(shell id -u):$(shell id -g) \
-v $(PWD):/src \
-w /src/_translations \
--init \
ghcr.io/yiisoft-contrib/po4a:0.74 \
po4a.conf