From: daniel watson Date: Sun, 6 Jul 2014 04:26:21 +0000 (-0700) Subject: add more options for code formatting by astyle X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=commitdiff_plain;h=dccb27775c4af49aa7575624bafb659d2bc825f0 add more options for code formatting by astyle --- diff --git a/Makefile b/Makefile index 04bec71..9b98e69 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,16 @@ all: ${HTMLS} ${PDFS} echo PDFS=${PDFS} astyle: - astyle --mode=c --style=lisp --indent=spaces=2 --recursive '*.ino' + astyle \ + --mode=c \ + --style=lisp \ + --indent=spaces=2 \ + --recursive '*.ino' \ + --pad-oper \ + --add-brackets \ + --convert-tabs \ + --max-code-length=80 \ + --line-end=linux initial-ubuntu-install: sudo apt-get install -y qrencode fritzing openscad