blob: 2d3849030e07bc3c66412b777e1952397a0fea99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/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
# issue SPEC-979
# this install fails with timeout for unknown reason - let's comment it
# npm install --global gulp bower
fi
# tools used to generate developer website (https://github.com/automotive-grade-linux/docs-agl)
curl -sSL https://rvm.io/mpapis.asc | gpg --import - \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --gems=jekyll
|