-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (26 loc) · 754 Bytes
/
Makefile
File metadata and controls
31 lines (26 loc) · 754 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
.PHONY: build
build: ## build docker image for this presentation
@echo "+ $@"
@docker build -t make-me-up .
.PHONY: run
start: build ## run docker image and expose slides through port 8080
@echo "+ $@"
@docker run -p 8080:8080 -d make-me-up
.PHONY: start
run: ## start development server
@echo "+ $@"
@npx fusuma start
.PHONY: reset
reset: ## reset application
@echo "+ $@"
@rm -rf node_modules package-lock.json
@npm i fusuma@1.1.0 -D
@npm install --save @fortawesome/fontawesome-free
.PHONY: pdf
pdf: ## pdf description
@echo "+ $@"
@npx fusuma pdf
@rm -r dist/
.PHONY: help
help: ## print help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'