diff options
| author | Peter Bacon Darwin | 2014-02-21 21:36:22 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-22 10:07:31 +0000 |
| commit | b72ea59019b7c61973f3d4443d7b9c4cb94633a9 (patch) | |
| tree | b8d39913869494456bb5bf6bb415eccd70fdca08 /gen_docs.sh | |
| parent | 3b5480e9fc66fb13dc4723c0c836564a6d1aaaf3 (diff) | |
| download | angular.js-b72ea59019b7c61973f3d4443d7b9c4cb94633a9.tar.bz2 | |
chore(docs-app): re-activate docs-app test tasks
Currently there is only a minimal test spec in place. But this will now
be run as part of the test tasks.
Diffstat (limited to 'gen_docs.sh')
| -rwxr-xr-x | gen_docs.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gen_docs.sh b/gen_docs.sh deleted file mode 100755 index 039daa46..00000000 --- a/gen_docs.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -JASMINE_NODE='jasmine-node' -local_jasmine='./node_modules/.bin/jasmine-node' - -if ! type -p "$JASMINE_NODE" >/dev/null 2>&1;then - if [[ -x "$local_jasmine" ]];then - JASMINE_NODE="$local_jasmine" - else - echo 'Could not find a locally or globally installed executable of' \ - 'jasmine-node. Try: `npm install jasmine-node`.' >&2 - exit 1 - fi -fi - -if [[ ! -e gen_docs.disable ]]; then - echo 'Testing, then building documentation...' - "$JASMINE_NODE" docs/spec --noColor && node docs/src/gen-docs.js -fi |
