-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathtaskfile.yaml
More file actions
42 lines (35 loc) · 729 Bytes
/
Copy pathtaskfile.yaml
File metadata and controls
42 lines (35 loc) · 729 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
39
40
41
42
version: '3'
dotenv:
- .env
tasks:
default:
cmds:
- task --list-all
silent: true
bump:
vars:
VERSION:
sh: yq '.project.version' pyproject.toml
cmds:
- git add pyproject.toml
- 'git commit -m "release: {{.VERSION}}"'
- 'git tag "v{{.VERSION}}" -m "v{{.VERSION}}"'
lint:
cmds:
- pre-commit run -a
- mypy --show-column-numbers transmission_rpc
test:
cmds:
- pytest
dev:docs:
cmds:
- sphinx-autobuild -W --watch transmission_rpc ./docs/ ./dist/
build:docs:
sources:
- docs/**/*
- transmission_rpc/**/*
generates:
- dist/**/*
cmds:
- rm -rf dist/
- sphinx-build -W ./docs/ ./dist/