[Libreoffice-commits] libmspub.git: astyle.options HACKING

David Tardon dtardon at redhat.com
Thu Nov 28 10:01:12 PST 2013


 HACKING        |    2 +-
 astyle.options |   11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

New commits:
commit 0f3bf67a950fd340d0a8c99f2b74817859db8733
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Nov 28 19:00:30 2013 +0100

    add options file for astyle
    
    Change-Id: Ifa12207d6d3bde25af615b293ca1f18c839a3a2f

diff --git a/HACKING b/HACKING
index d1423ce..4f02df4 100644
--- a/HACKING
+++ b/HACKING
@@ -3,6 +3,6 @@
 This project uses mostly the same file naming and coding style like
 libwpd and the rest of Fridrich's libraries. Please run
 
-    astyle -A1 -HU -k3 -y -n -s2 -r \*.cpp \*.h
+    astyle --options=astyle.options \*.cpp \*.h
 
 before committing.
diff --git a/astyle.options b/astyle.options
new file mode 100644
index 0000000..9d46215
--- /dev/null
+++ b/astyle.options
@@ -0,0 +1,11 @@
+# formatting options
+style=allman
+indent=spaces=2
+align-pointer=name
+break-closing-brackets
+pad-header
+unpad-paren
+
+# processing options
+recursive
+suffix=none


More information about the Libreoffice-commits mailing list