mirror of
https://github.com/dlang-community/dfmt.git
synced 2025-04-25 21:00:03 +03:00
better gen_expected script
This commit is contained in:
parent
70bae7487e
commit
8c2076d4f2
1 changed files with 4 additions and 2 deletions
|
@ -1,10 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
argsFile=$1.args
|
||||
if [ -e ${argsFile} ]; then
|
||||
args=$(cat ${argsFile})
|
||||
fi
|
||||
echo "Args:" ${args}
|
||||
dfmt --brace_style=allman ${args} $1.d > allman/$1.d.ref
|
||||
dfmt --brace_style=otbs ${args} $1.d > otbs/$1.d.ref
|
||||
../bin/dfmt --brace_style=allman ${args} $1.d > allman/$1.d.ref
|
||||
../bin/dfmt --brace_style=otbs ${args} $1.d > otbs/$1.d.ref
|
||||
|
||||
echo "------------------"
|
||||
echo "allman:"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue