-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (23 loc) · 703 Bytes
/
Makefile
File metadata and controls
30 lines (23 loc) · 703 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
.DEFAULT_GOAL := help
doc: ## Generate documentation
@pulp docs
install: ## Install dependencies
@bower install
pack: ## Pack single JavaScript file for use in the browser
@rm bundle/lir.js
@touch bundle/lir.js
@pulp build --optimise -- --strict --censor-lib --stash
@psc-bundle output/**/*.js $(shell cat "exposed_modules" | xargs -I % echo -n "-m % ") -o bundle/lir.js -n Lir
spec: ## Run tests
@pulp test
watch: ## Recompile on file system changes
@pulp --watch build
help: ## Print available tasks
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY:
doc
install
pack
spec
watch
help