Fix perltidy conf
This commit is contained in:
parent
9cfef329ee
commit
2532970b33
|
@ -0,0 +1,18 @@
|
|||
# -*- conf -*-
|
||||
#
|
||||
# Default options for perltidy for proper Perl code reformatting.
|
||||
#
|
||||
# This file is based on the one from the rra-c-util package,
|
||||
# which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
|
||||
|
||||
--nobreak-before-all-operators
|
||||
--blanks-before-comments
|
||||
--nocuddled-else
|
||||
--maximum-line-length=79
|
||||
--paren-tightness=1
|
||||
--square-bracket-tightness=1
|
||||
--space-for-semicolon
|
||||
--noopening-brace-on-new-line
|
||||
--stack-opening-tokens
|
||||
--nostack-closing-tokens
|
||||
--format-skipping
|
2
Makefile
2
Makefile
|
@ -1098,7 +1098,7 @@ test-diff:
|
|||
done
|
||||
|
||||
tidy: clean
|
||||
find lemon*/ -type f \( -name '*.pm' -or -name '*.pl' -or -name '*.fcgi' -or -name '*.t' \) -print -exec perltidy -b {} \;
|
||||
find lemon*/ -type f \( -name '*.pm' -or -name '*.pl' -or -name '*.fcgi' -or -name '*.t' \) -print -exec perltidy -se -b {} \;
|
||||
find lemon*/ -name '*.bak' -delete
|
||||
$(MAKE) json
|
||||
|
||||
|
|
Loading…
Reference in New Issue