Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
frama-c
Commits
1515c199
Commit
1515c199
authored
Oct 08, 2020
by
Virgile Prevosto
Browse files
[Makefile] Allow pre-commit hook to define precisely what it wants to lint
parent
09d4f920
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
1515c199
...
@@ -1708,7 +1708,10 @@ check-devguide: $(CHECK_CODE) $(DOC_DEPEND) $(DOC_DIR)/kernel-doc.ocamldoc
...
@@ -1708,7 +1708,10 @@ check-devguide: $(CHECK_CODE) $(DOC_DEPEND) $(DOC_DIR)/kernel-doc.ocamldoc
ALL_ML_FILES
:=
$(
shell
find src
-name
'*.ml'
-print
-o
-name
'*.mli'
-print
-o
-path
'*/tests'
-prune
'!'
-name
'*'
)
ALL_ML_FILES
:=
$(
shell
find src
-name
'*.ml'
-print
-o
-name
'*.mli'
-print
-o
-path
'*/tests'
-prune
'!'
-name
'*'
)
ALL_ML_FILES
+=
ptests/ptests.ml
ALL_ML_FILES
+=
ptests/ptests.ml
ifeq
($(origin MANUAL_ML_FILES),undefined)
MANUAL_ML_FILES
:=
$(
filter-out
$(GENERATED)
$(PLUGIN_GENERATED_LIST)
,
$(ALL_ML_FILES)
)
MANUAL_ML_FILES
:=
$(
filter-out
$(GENERATED)
$(PLUGIN_GENERATED_LIST)
,
$(ALL_ML_FILES)
)
endif
# Allow control of files to be linted/fixed by external sources
# Allow control of files to be linted/fixed by external sources
# (e.g. pre-commit hook that will concentrate on files which have changed)
# (e.g. pre-commit hook that will concentrate on files which have changed)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment