summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-12-07 20:26:28 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-12-07 22:33:37 +0100
commitd195e5608b5b71a7ff774954f59836363a80e6c6 (patch)
tree829e105b5a46fd162674db2eb9cb3f7ff5df06df
parent3c0341fb5cf37c363e7788a7f4ab7c2bead47f2d (diff)
add astyle options file
-rw-r--r--HACKING8
-rw-r--r--astyle.options11
2 files changed, 19 insertions, 0 deletions
diff --git a/HACKING b/HACKING
new file mode 100644
index 0000000..57742a2
--- /dev/null
+++ b/HACKING
@@ -0,0 +1,8 @@
+= Coding style =
+
+This project uses mostly the same file naming and coding style like
+librevenge and the rest of Fridrich's libraries. Please run
+
+ 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