aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL/tasks.d/50_sdk
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL/tasks.d/50_sdk')
-rw-r--r--INSTALL/tasks.d/50_sdk15
1 files changed, 15 insertions, 0 deletions
diff --git a/INSTALL/tasks.d/50_sdk b/INSTALL/tasks.d/50_sdk
new file mode 100644
index 0000000..1a44fd9
--- /dev/null
+++ b/INSTALL/tasks.d/50_sdk
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# install specific scripts
+mkdir -p /usr/local/bin
+for x in $INSTDIR/tools/scripts_sdk/*; do
+ install --mode=755 $x /usr/local/bin/
+done
+
+# install node.js and tools (npm, gulp, bower) if needed
+if [[ -z $(which node) ]]; then
+ curl -sL https://deb.nodesource.com/setup_6.x | bash -
+ apt-get install nodejs
+ npm install --global gulp bower
+fi
+