-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathzinoma.yml
43 lines (37 loc) · 889 Bytes
/
zinoma.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
43
targets:
clippy:
input:
- paths: [src, tests]
extensions: [rs]
build: exec cargo clippy
test:
dependencies: [clippy]
input:
- paths: [Cargo.toml, Cargo.lock, src, tests]
build: exec cargo test
no-unused-dependencies:
dependencies: [clippy]
input:
- paths: [Cargo.toml]
- paths: [src, tests]
extensions: [rs]
build: exec cargo +nightly udeps
fmt:
input:
- paths: [src, tests]
extensions: [rs]
build: exec cargo fmt --all -- --check
check:
dependencies: [clippy, test, no-unused-dependencies, fmt]
install:
dependencies: [check]
input:
- paths: [Cargo.toml, Cargo.lock, src]
output:
- cmd_stdout: which zinoma
- cmd_stdout: zinoma --version
build: exec cargo install --path .
doc:
input:
- paths: [src]
build: exec cargo doc