mirror of
https://github.com/git/git.git
synced 2026-01-12 13:53:11 +09:00
Meta/Dothem: support --cocci
This commit is contained in:
parent
dfe9970c3e
commit
7d9ec4c25f
9
Dothem
9
Dothem
@ -18,11 +18,13 @@ inst_prefix=$(
|
||||
)
|
||||
|
||||
force= with_dash= test_long= M= install= nodoc= notest= bootstrap= branches= jobs=
|
||||
scratch= noprove= memtrash=--memtrash
|
||||
scratch= noprove= memtrash=--memtrash with_cocci=
|
||||
while case "$1" in
|
||||
--pedantic | --locale=* | --loose) M="$M $1" ;;
|
||||
--force) force=$1 ;;
|
||||
--dash) with_dash=y ;;
|
||||
--cocci) with_cocci=y ;;
|
||||
--no-cocci) with_cocci= ;;
|
||||
--long) test_long=--long ;;
|
||||
--noinstall) install=noinstall ;;
|
||||
--nodoc) nodoc=y ;;
|
||||
@ -200,6 +202,11 @@ do
|
||||
|
||||
save=$(git rev-parse HEAD) &&
|
||||
|
||||
if test -n "$with_cocci"
|
||||
then
|
||||
Meta/Make $M $jobs -- coccicheck
|
||||
fi &&
|
||||
|
||||
Meta/Make $M $jobs -- SPARSE_FLAGS=-Wsparse-error sparse &&
|
||||
|
||||
Meta/Make $M $noprove ${test+"$test"} $jobs $test_long $memtrash \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user