aboutsummaryrefslogtreecommitdiff
path: root/tests/script/bootstrap.sh
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-09-20 16:26:08 -0400
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-09-20 16:26:39 -0400
commit663626f06d79aa4d3d3b17e0391897c852658a28 (patch)
tree05fd05167e6d68ef3a01bbd5e8d49aa683daa730 /tests/script/bootstrap.sh
parent086c6e96ca4b98e8a144b5f7f37a7b3b6fedc61d (diff)
Move scripts inside tests directory.
Fixed https://github.com/sudar/Arduino-Makefile/issues/260
Diffstat (limited to 'tests/script/bootstrap.sh')
-rwxr-xr-xtests/script/bootstrap.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/script/bootstrap.sh b/tests/script/bootstrap.sh
new file mode 100755
index 0000000..083bf5d
--- /dev/null
+++ b/tests/script/bootstrap.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+set -e
+
+SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+pushd $SCRIPTS_DIR/..
+
+source $SCRIPTS_DIR/bootstrap/chipkit.sh
+source $SCRIPTS_DIR/bootstrap/arduino.sh