-
Notifications
You must be signed in to change notification settings - Fork 4
/
tusk.yml
26 lines (26 loc) · 674 Bytes
/
tusk.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
options:
version:
usage: The next release version
short: v
required: true
tasks:
setup:
run:
- command: cargo install cargo-watch
- command: cargo install releez
dev:
run:
- command: cargo watch --watch ./src --watch ./examples/test.rs -x 'run --example test --features="all"'
check:dev:
run:
- command: cargo watch --watch ./src -x 'check --features="all"'
doc:dev:
run:
- command: cargo doc --open --features="all"
- command: cargo watch -x 'doc --features="all"'
test:dev:
run:
- command: cargo watch -x 'test --features="all"'
release:
run:
- command: releez "${version}"