-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathneomake.yaml
43 lines (39 loc) · 849 Bytes
/
neomake.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
version: "0.0"
nodes:
"build:docs":
tasks:
- script: |
cargo doc --no-deps --document-private-items
"build:program":
matrix:
parallel: false
dimensions:
- - {}
- env:
vars:
RELEASE: --release
# json
- - {}
- env:
vars:
F_JSON: --features format+json
# ron
- - {}
- env:
vars:
F_RON: --features format+ron
tasks:
- script: |
set -e
export CARGO_FLAGS="$F_JSON $F_RON $RELEASE"
echo cargo flags: \"$CARGO_FLAGS\"
cargo build $CARGO_FLAGS
test:
tasks:
- script: |
cargo test --no-fail-fast
"hook:pre-push":
pre:
- regex: "^build:"
- name: test
tasks: []