-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yaml
108 lines (89 loc) · 2.31 KB
/
Taskfile.yaml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# https://taskfile.dev
version: '3'
tasks:
run:watch:
desc: 🚀 watch lool
cmds:
- cargo watch -c -x "run -- --version"
build:watch:
desc: 🚀 watch lool «build»
cmds:
- cargo watch -c -x "build"
build:
desc: ⚡ build lool «release»
cmds:
- cargo build --release
- python check_size.py
example:logger:
desc: 🚀 run lool «example logger»
cmds:
- cargo run --example=logger --release --features logger
example:threadpool:
desc: 🚀 run lool «example threadpool»
cmds:
- cargo run --example=threadpool --release --features utils.threads
example:gridselector:
desc: 🚀 run lool «example widget_grid_selector»
cmds:
- cargo watch --features=cli.tui.widgets,tokio.rt -c -x "run --example widget_grid_selector"
example:switch:
desc: 🚀 run lool «example widget_switch»
cmds:
- cargo watch --features=cli.tui.widgets,tokio.rt -c -x "run --example widget_switch"
fmt:
desc: 🎨 format lool
cmds:
- cargo +nightly fmt --all
fmt:check:
desc: 🎨 check format
cmds:
- cargo +nightly fmt --all --check
lint:
desc: 🧶 lint lool
cmds:
- cargo clippy --fix --all-features --allow-staged
lint:check:
desc: 🧶 check linting
cmds:
- cargo clippy --all-features
fmt+lint:
desc: 🎨🧶 format and lint rustler
cmds:
- task fmt
- git add .
- task lint
test:
desc: 🧪 test lool
cmds:
- cargo nextest run --all-features
release:patch:
desc: 🚀 release «patch» version of lool
deps:
- release:pre
cmds:
- cargo release patch --execute --no-confirm
release:minor:
desc: 🚀 release «minor» version of lool
deps:
- release:pre
cmds:
- cargo release minor --execute --no-confirm
release:major:
desc: 🚀 release «major» version of lool
deps:
- release:pre
cmds:
- cargo release major --execute --no-confirm
release:pre:
desc: 🚀 prerelease rustler-core
deps:
- fmt:check
- lint:check
release:
aliases:
- "publish"
desc: 🚀 release «patch» version of lool
deps:
- release:pre
cmds:
- cargo release patch --execute