forked from AKSW/2023.d2r2.aksw.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
51 lines (41 loc) · 801 Bytes
/
Taskfile.yml
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
48
49
50
---
# https://taskfile.dev
version: '3'
tasks:
default:
summary: |
List documented tasks
silent: true
cmds:
- task --list
clean:
desc: Clean up working directory
run: once
cmds:
- rm -rf site
install:
desc: Install needed dependencies
cmds:
- poetry install
check:
desc: Run complete test suite
deps:
- check:links
check:links:
desc: Check outgoing links
deps:
- install
cmds:
- poetry run linkcheckMarkdown -r docs 2>&1 | grep -v "ResourceWarning"
build:
desc: Build the page
deps:
- task: install
cmds:
- poetry run mkdocs build --strict
serve:
desc: Serve the page on localhost
deps:
- task: install
cmds:
- poetry run mkdocs serve