forked from commenthol/date-holidays
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (25 loc) · 672 Bytes
/
Makefile
File metadata and controls
38 lines (25 loc) · 672 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
32
33
34
35
36
37
38
npmbin := $(shell npm bin)
all: lint lib yaml attributions docs
npm test
yaml: data/holidays.json
data/holidays.json: data/countries/*.yaml data/names.yaml
npm run yaml
lib: src/*
npm run transpile
test: v4. v6. v8.
v%:
n $@ && mocha
docs: tree README.md
markedpp --githubid -i docs/specification.md -o docs/specification.md
markedpp --githubid -i README.md -o README.md
jsdox -o docs src/Holidays.js
lint:
npm run lint
tree: yaml
node scripts/addtree.js
writetests: yaml
$(npmbin)/mocha test/all.mocha.js --writetests
attributions: LICENSE
LICENSE: data/countries/*.yaml
node scripts/attributions.js
.PHONY: all doc lint test tree writetests yaml