uncrustify c-like sourcecode

/ Published in: Bash
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. #use this for an ant task:
  2. # <exec executable="bash">
  3. # <arg value="-i" />
  4. # <arg value="-c" />
  5. # <arg value="uncrustify --no-backup $(find ${src} -name &quot;*.java&quot;)" />
  6. # </exec>
  9. #make sure to configure like this
  10. cp /usr/share/uncrustify/ben.cfg ~/.uncrustify.cfg
  12. #uncrustify all java files in this folder
  13. uncrustify --no-backup $(find -name "*.java")

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

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.