24 lines
547 B
YAML
24 lines
547 B
YAML
options:
|
|
version:
|
|
usage: The next release version
|
|
short: v
|
|
required: true
|
|
tasks:
|
|
setup:
|
|
run:
|
|
- command: cargo install cargo-watch
|
|
- command: cargo install releez
|
|
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}"
|