From dccb27775c4af49aa7575624bafb659d2bc825f0 Mon Sep 17 00:00:00 2001 From: daniel watson Date: Sat, 5 Jul 2014 21:26:21 -0700 Subject: [PATCH] add more options for code formatting by astyle --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.30.2