From b97e4a348094845fcbcf101ae3744b51d6e76cb5 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Tue, 30 May 2017 16:29:26 +0200 Subject: [PATCH] Moving extras scripts out of root folder --- examples_formatter.conf => build/shared/examples_formatter.conf | 0 build/shared/examples_formatter.sh | 2 ++ format.every.sketch.sh | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) rename examples_formatter.conf => build/shared/examples_formatter.conf (100%) create mode 100755 build/shared/examples_formatter.sh delete mode 100644 format.every.sketch.sh 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 {} \;