diff --git a/examples_formatter.conf b/build/shared/examples_formatter.conf similarity index 100% rename from examples_formatter.conf rename to build/shared/examples_formatter.conf diff --git a/build/shared/examples_formatter.sh b/build/shared/examples_formatter.sh new file mode 100755 index 000000000..01e0fe5b3 --- /dev/null +++ b/build/shared/examples_formatter.sh @@ -0,0 +1,2 @@ +# you need to have astyle installed before running this +find examples -name '*.ino' -exec astyle --options=examples_formatter.conf {} \; diff --git a/format.every.sketch.sh b/format.every.sketch.sh deleted file mode 100644 index 02bfa9f5c..000000000 --- a/format.every.sketch.sh +++ /dev/null @@ -1,2 +0,0 @@ -# you need to have astyle installed before running this -find -name '*.ino' -exec /home/federico/materiale/works_Arduino/astyle/astyle-code/AStyle/build/gcc/bin/astyle --options=examples_formatter.conf {} \;