Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a helper script to generate a .d.ts file for everything (not used…
… by anything at the moment) and another script to start up a yuidoc server to kick the tires
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/ | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
|