Please sign in to comment.
fix(gen): fix more appPath, other changes
Views and decorators weren't using appPath correctly. The code is ugly and not DRY at all but will be cleaned up later. gitIgnore also needed some appPath love. Moved the gitignore creation to the package section of app/index.js Also did more work with tests, cleaning them up and testing more things. They are going to have to have a full rewrite so it makes me sad doing these small changes.
- Loading branch information...
Showing with 392 additions and 467 deletions.
- +1 −1 .gitignore
- +2 −0 app/index.js
- +0 −1 common/index.js
- +22 −4 decorator/index.js
- +1 −0 script-base.js
- +1 −1 templates/common/root/gitignore
- +32 −38 test/test-appname-substitution.js
- +174 −210 test/test-apppath.js
- +81 −124 test/test-file-creation.js
- +69 −84 test/test-route-creation.js
- +9 −4 view/index.js
Oops, something went wrong.