aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/daily-jjb-doc-update/include-doc-update.sh
blob: 475701516460a4946f6c0dfa3fe66b62c62b24d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
set -e 

# we need a name and an email
#git config --global user.name build.automotivelinux.org
#git config --global user.email jenkins@automotivelinux.org
git config user.name build.automotivelinux.org
git config user.email jenkins@automotivelinux.org

# make sure 'node' is in path (debian calls it nodejs)
mkdir -p bin
ln -sf /usr/bin/nodejs bin/node
export PATH=$PATH:`pwd`/bin

pushd doctools/webdocs
  npm install
  gem list
popd

# build the docs
pushd webdocs-agl
  make clean
  make fetch
  make build
popd