aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL/tasks.d/70_doc
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL/tasks.d/70_doc')
-rw-r--r--INSTALL/tasks.d/70_doc13
1 files changed, 13 insertions, 0 deletions
diff --git a/INSTALL/tasks.d/70_doc b/INSTALL/tasks.d/70_doc
new file mode 100644
index 0000000..9336de9
--- /dev/null
+++ b/INSTALL/tasks.d/70_doc
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# 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 -y nodejs
+ npm install --global gulp bower
+fi
+
+# tools used to generate developer website (https://github.com/automotive-grade-linux/docs-agl)
+gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 \
+ && curl -sSL https://get.rvm.io | bash -s stable --ruby --gems=jekyll
+