forked from trans-travel/trans-travel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yaml
47 lines (44 loc) · 1.03 KB
/
Taskfile.yaml
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
39
40
41
42
43
44
45
46
47
# https://taskfile.dev
version: '3'
tasks:
pretty:
- perltidy -b scripts/t/*.t scripts/lib/*.pm scripts/*.pl
test:
- prove -Iscripts/lib scripts/t
epub:
sources:
- scripts/t/*.t
- 'changes.md',
- 'contributors.md',
- 'mx.md'
- 'nz.md'
- 'notes/airport-bathrooms.md'
- 'notes/tsa.md'
- 'uk.md'
- 'us/*.md'
- ./scripts/gen-epub.pl
generates:
- ./output/trans-travel.epub
cmds:
- perl ./scripts/gen-epub.pl
# did we do good?
- { task: test}
pdf:
sources:
- 'changes.md',
- 'contributors.md',
- 'mx.md'
- 'nz.md'
- 'notes/airport-bathrooms.md'
- 'notes/tsa.md'
- 'uk.md'
- 'us/*.md'
- ./scripts/gen-pdf.pl
generates:
- ./output/trans-travel.pdf
cmds:
- perl ./scripts/gen-pdf.pl > output/trans-travel.html
- weasyprint output/trans-travel.html output/trans-travel.pdf
docsify:
cmds:
- perl scripts/gen-docsify-sidebar.pl > _sidebar.md