aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL/setup.d/70_doc
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2017-03-16 22:22:52 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2017-03-19 17:56:48 +0100
commitb30093edfd4f92b32ba356ef5e62d9bd80a99584 (patch)
tree2975f1be8be51931f6fe4f83102e1b524e600818 /INSTALL/setup.d/70_doc
parenta41c6fae3bf4a08edca7bde0b3dd3ef2ce32b669 (diff)
setup: split setup script in multiple parts
Instead of having a monolithic script suitable for many features, this commit splits the main setup file in elementary scripts associated to different features: - Yocto build (bitbake deps) - Bitbake Toaster - Network boot - SDK - X11 Tools - Documentation tools support Change-Id: I3d08e32d6b887468e533bee311220ddb91da1dc1 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'INSTALL/setup.d/70_doc')
-rw-r--r--INSTALL/setup.d/70_doc13
1 files changed, 13 insertions, 0 deletions
diff --git a/INSTALL/setup.d/70_doc b/INSTALL/setup.d/70_doc
new file mode 100644
index 0000000..9336de9
--- /dev/null
+++ b/INSTALL/setup.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
+