~abreu-alexandre/unity-webapps-qml/enhance-launch-embedded-ui

« back to all changes in this revision

Viewing changes to update-docs

  • Committer: CI Train Bot
  • Author(s): Daniel Holbach
  • Date: 2015-04-09 13:29:10 UTC
  • mfrom: (148.1.5 unity-webapps-qml)
  • Revision ID: ci-train-bot@canonical.com-20150409132910-mmui8imfjseapg7f
Add ./update-docs script which generates API docs locally. We can't make this part of the build as not all node dependencies of yuidocsjs are packaged in the archive.
Approved by: PS Jenkins bot, David Barth

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
if [ ! $(which yuidoc) ]; then
 
4
        echo "Please install yuidocjs: sudo apt-get install npm nodejs-legacy && sudo npm -g install yuidocjs"
 
5
        exit 1
 
6
fi
 
7
 
 
8
cd ./src/Ubuntu/UnityWebApps/bindings && ./yuidoc-build.sh