Return to Snippet

Revision: 48502
at July 3, 2011 09:30 by abstraktor


Updated Code
#use this for an ant task:
#                <exec executable="bash">
#                        <arg value="-i" />
#                        <arg value="-c" />
#                        <arg value="uncrustify --no-backup $(find ${src} -name &quot;*.java&quot;)" />
#                </exec>


#make sure to configure like this
cp /usr/share/uncrustify/ben.cfg ~/.uncrustify.cfg

#uncrustify all java files in this folder
uncrustify --no-backup $(find -name "*.java")

Revision: 48501
at July 3, 2011 09:14 by abstraktor


Initial Code
grep -r --include="*.cpp" load_option_file .

Initial URL
https://github.com/bengardner/uncrustify.git

Initial Description
you may not want to use the buggy apt version. just compile it yourself

Initial Title
uncrustify c-like sourcecode

Initial Tags
java, c, code

Initial Language
Bash