-
Notifications
You must be signed in to change notification settings - Fork 5
/
.pre-commit-config.yaml
69 lines (59 loc) · 1.87 KB
/
.pre-commit-config.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
fail_fast: true
repos:
- repo: local
hooks:
- id: fmt
name: fmt
language: system
files: '[.]rs$'
entry: rustup run nightly rustfmt
# Each package is checked separately because of
# https://github.com/rust-lang/cargo/issues/5364
- id: check-brain
name: check-brain
language: system
files: '[.]rs$'
entry: sh -c '( cd brain && cargo check --all-targets --features strict )'
pass_filenames: false
- id: check-brain-test-data
name: check-brain-test-data
language: system
files: '[.]rs$'
entry: sh -c '( cd brain-test-data && cargo check --all-targets --features strict )'
pass_filenames: false
- id: check-collect
name: check-collect
language: system
files: '[.]rs$'
entry: sh -c '( cd collect && cargo check --all-targets --features strict )'
pass_filenames: false
- id: check-common
name: check-common
language: system
files: '[.]rs$'
entry: sh -c '( cd common && cargo check --all-targets --features strict )'
pass_filenames: false
- id: check-dom
name: check-dom
language: system
files: '[.]rs$'
entry: sh -c '( cd dom && cargo check --all-targets --features strict )'
pass_filenames: false
- id: check-oven
name: check-oven
language: system
files: '[.]rs$'
entry: sh -c '( cd oven && cargo check --all-targets --features strict )'
pass_filenames: false
- id: check-play
name: check-play
language: system
files: '[.]rs$'
entry: sh -c '( cd play && cargo check --all-targets --features strict )'
pass_filenames: false
- id: check-simulate
name: check-simulate
language: system
files: '[.]rs$'
entry: sh -c '( cd simulate && cargo check --all-targets --features strict )'
pass_filenames: false