angular.js/gen_docs.sh
Vojta Jina 8978e066b5 fix(gen-docs): require files without touching PATH
So that it works on latest revision of node...
New version of Node (v0.5.x) does not support require.paths.push().
2011-10-18 22:23:52 -07:00

4 lines
114 B
Bash
Executable file

#!/bin/bash
if [ ! -e gen_docs.disable ]; then
jasmine-node docs/spec --noColor && node docs/src/gen-docs.js
fi