Skip to content

Commit

Permalink
Add a helper script to generate a .d.ts file for everything (not used…
Browse files Browse the repository at this point in the history
… by anything at the moment) and another script to start up a yuidoc server to kick the tires
  • Loading branch information
gashcrumb committed Nov 25, 2013
1 parent 5a4f735 commit 706293d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions hawtio-web/genDocs
@@ -0,0 +1,12 @@
#!/bin/bash

tsFiles=$(find . -type f -name *.ts | grep -v [.]d[.]ts | grep -v /test/ | grep -v target)

# install yuidoc using the steps mentioned here -> http://yui.github.io/yuidoc/##install


# starts yuidoc in server mode
yuidoc -e .ts -o target/docs --server src/main/webapp/app/core/js/



7 changes: 7 additions & 0 deletions hawtio-web/genInterfaces
@@ -0,0 +1,7 @@
#!/bin/bash

tsFiles=$(find . -type f -name *.ts | grep -v [.]d[.]ts | grep -v /test/ | grep -v target)

tsc --allowbool -d --target es5 --out target/interfaces/app.js src/main/d.ts/* $tsFiles


0 comments on commit 706293d

Please sign in to comment.