-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
36 lines (34 loc) · 893 Bytes
/
Taskfile.yaml
File metadata and controls
36 lines (34 loc) · 893 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
version: '3'
includes:
docs:
taskfile: 'https://github.com/attakei/workspace-configs.git//projects/sphinx-doc/Taskfile.yaml?tag=v0.7.2'
vars:
RUN_PYTHON: 'uv run'
SPHINX_ROOT_DIR: 'docs'
SPHINX_SOURCE_DIR: '.'
SPHINX_OUTPUT_DIR: '_build'
SPHINX_DEFAULT_BUILDER: 'dirhtml'
tasks:
setup-dev:
desc: 'Setup workspace'
cmds:
- 'uv sync --all-groups --frozen'
- 'bun install'
- 'bun --cwd=e2e/app neu update'
- 'lefthook install'
verify:
desc: 'Verify workspace'
cmds:
- 'lefthook run pre-commit --all-files'
example-run:
desc: 'Run example app'
dir: './example'
cmds:
- 'bun x neu run -- {{.CLI_ARGS}}'
release-*:
desc: 'Run release process'
vars:
LEVEL: '{{index .MATCH 0}}'
cmds:
- 'age {{.LEVEL}}'
- 'uv sync --all-extras' # To write out as lock-file