-
Notifications
You must be signed in to change notification settings - Fork 14
/
Taskfile.yml
59 lines (51 loc) · 1.09 KB
/
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
51
52
53
54
55
56
57
58
59
version: "3"
tasks:
setup:
desc: Setup the development environment.
cmds:
- poetry install
lint:
desc: Lints the code and reports on issues.
cmds:
- poetry run black --check lasso
- poetry run ruff check
build:
desc: Builds the python package
cmds:
- poetry build
test:
desc: Runs tests on the code
cmds:
- >
poetry run pytest
--cov=lasso
--cov-report=html
docs:serve:
desc: Serve the documentation locally for development and testing
deps:
- test
- docs:changelog
cmds:
- poetry run mkdocs serve
docs:build:
desc: Build the documentation
deps:
- test
- docs:changelog
cmds:
- poetry run mkdocs build
docs:deploy:
desc: Deploys the docs to GitHub (be careful!)
deps:
- test
- docs:changelog
cmds:
- poetry run mkdocs gh-deploy
docs:changelog:
desc: Generates the changelog
cmds:
- >
poetry run git-changelog .
--output CHANGELOG.md
--style angular
--template angular