-
Notifications
You must be signed in to change notification settings - Fork 365
/
.pre-commit-config.yaml
46 lines (46 loc) · 1.33 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
repos:
- repo: local
hooks:
- id: must-match-hash
name: bison-parser-hashcheck
language: python
always_run: true
entry: python hooks/must-match-hash.py
args: [
'--hash-files',
'src/idl/src/parser.y',
'--append-files',
'src/idl/src/parser.h',
'src/idl/src/parser.c'
]
pass_filenames: false
- id: must-match-hash
name: confgen-hashcheck
language: python
always_run: true
entry: python hooks/must-match-hash.py
args: [
'--hash-files',
'src/core/ddsi/include/dds/ddsi/ddsi_config.h',
'src/core/ddsi/src/ddsi__cfgelems.h',
'src/core/ddsi/src/ddsi_config.c',
'src/tools/_confgen/_confgen.h',
'src/tools/_confgen/_confgen.c',
'src/tools/_confgen/cfgunits.h',
'src/tools/_confgen/generate_rnc.c',
'src/tools/_confgen/generate_md.c',
'src/tools/_confgen/generate_xsd.c',
'src/tools/_confgen/generate_defconfig.c',
'--append-files',
'src/core/ddsi/defconfig.c',
'etc/cyclonedds.rnc',
'etc/cyclonedds.xsd',
'docs/manual/options.md',
'docs/manual/config/config_file_reference.rst'
]
pass_filenames: false
- id: version-check
name: version-check
language: python
entry: python hooks/version-check.py
pass_filenames: false