aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL/tasks.d/70_doc
blob: 9336de92f87ed18ecd45216f7a35594ced56cfe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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