separate data into *-data.scad for 3d models
[challenge-bot] / 3d-printables / astyle-options
diff --git a/3d-printables/astyle-options b/3d-printables/astyle-options
new file mode 100644 (file)
index 0000000..acc1f46
--- /dev/null
@@ -0,0 +1,50 @@
+# challenge-bot
+# GNU AGPLv3 (or later at your option)
+# project available at these locations:
+# https://gitorious.org/ozzloy/challenge-bot
+# https://github.com/waynegramlich/challenge-bot
+
+# put opening and closing braces on same line as other code
+# example:
+# if (condition) {
+#  consequent; }
+style=lisp
+
+# use 2 spaces for each level of indentation.  no tabs
+indent=spaces=2
+
+# continuation lines should be indented at most 80 spaces
+max-instatement-indent=80
+
+# put space between construct keywors (like "if"), and "("
+# example:
+#  original:
+#   if(condition) {
+#  becomes:
+#   if (condition) {
+pad-header
+
+# remove spaces around parens
+# example:
+#  original:
+#   bar ( a, b );
+#  becomes:
+#   bar(a, b);
+unpad-paren
+
+# add brackets around single statement conditional branches
+# example:
+#  if (condition)
+#    consequent;
+# becomes:
+#  if (condition) {
+#    consequent; }
+add-brackets
+
+# attempt to break up long lines to stay within 80 columns
+# breaking will occur at logical conditionals (||, &&, ...), comma, paren,
+#  or space
+max-code-length=80
+
+# use lf for all line endings
+lineend=linux