convenience open
This commit is contained in:
parent
9352ecc446
commit
440011cba9
1 changed files with 3 additions and 0 deletions
|
@ -10,5 +10,8 @@ if [[ ! -x ./node_modules/.bin/raml2html ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./node_modules/.bin/raml2html -i ./doc/api/api.raml -o ./public/api/index.html -t doc/api/templates/template.nunjucks
|
./node_modules/.bin/raml2html -i ./doc/api/api.raml -o ./public/api/index.html -t doc/api/templates/template.nunjucks
|
||||||
|
if [[ -x $(which open) ]]; then
|
||||||
|
open public/api/index.html
|
||||||
|
fi
|
||||||
|
|
||||||
cd $OLD_DIR
|
cd $OLD_DIR
|
||||||
|
|
Loading…
Add table
Reference in a new issue