Skip to content

Commit 3c41b8e

Browse files
committed
feat: add Taskfile
1 parent dd823c4 commit 3c41b8e

File tree

5 files changed

+220
-19
lines changed

5 files changed

+220
-19
lines changed

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
task 3.42.1

Taskfile.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# https://taskfile.dev
2+
3+
version: '3'
4+
5+
vars:
6+
GREETING: Hello, World!
7+
8+
tasks:
9+
init:
10+
cmds:
11+
- poetry install --with dev
12+
shell:
13+
cmds:
14+
- echo "$(poetry env activate)"
15+
test:
16+
deps:
17+
- init
18+
cmds:
19+
- poetry run pytest
20+
deps:
21+
cmds:
22+
- poetry lock
23+
style:
24+
cmds:
25+
- poetry run pre-commit

0 commit comments

Comments
 (0)