forked from Telodendria/Telodendria
Make "format" recipe less verbose
This commit is contained in:
parent
e009536065
commit
d32742bb25
1 changed files with 1 additions and 2 deletions
|
@ -110,7 +110,6 @@ recipe_run() {
|
|||
# build recipe.
|
||||
recipe_clean() {
|
||||
rm -rv build
|
||||
find . -name '*.orig' -delete
|
||||
}
|
||||
|
||||
# Format the source code by updating the copyright headers and
|
||||
|
@ -121,7 +120,7 @@ recipe_format() {
|
|||
srcHeader=$(grep -n -m 1 '^ \*/' "$src" | cut -d ':' -f 1)
|
||||
head "-n$srcHeader" "$src" |
|
||||
diff -u -p - LICENSE.txt |
|
||||
patch "$src"
|
||||
patch "$src" | grep -v "^Hmm"
|
||||
|
||||
# Format the source code
|
||||
if indent "$src"; then
|
||||
|
|
Loading…
Reference in a new issue