-
Notifications
You must be signed in to change notification settings - Fork 4
/
Taskfile.yml
42 lines (33 loc) · 966 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
version: "3"
includes:
api:
taskfile: ./projects/ecoindex_api/Taskfile.yml
dir: ./projects/ecoindex_api/
cli:
taskfile: ./projects/ecoindex_cli/Taskfile.yml
dir: ./projects/ecoindex_cli/
compute:
taskfile: ./projects/ecoindex_compute/Taskfile.yml
dir: ./projects/ecoindex_compute/
scraper:
taskfile: ./projects/ecoindex_scraper/Taskfile.yml
dir: ./projects/ecoindex_scraper/
poetry: ./tasks/PoetryTaskfile.yml
quality: ./tasks/QualityTaskFile.yml
tasks:
project-check:
desc: Check polylith structure project
cmds:
- poetry poly check
project-sync:
desc: Sync polylith structure project
cmds:
- poetry poly sync
bump:
desc: Bump the Main project version with rules:major, minor, patch, premajor, preminor, prepatch or prerelease.
cmds:
- task: poetry:bump
vars:
VERSION_FILE_PATH: "VERSION"
VERSION_RULE: "{{.CLI_ARGS}}"
silent: true