ni
ni copied to clipboard
Putting a directory into any of the directories `controllers`, `libraries`, `helpers`, `models` causes boot function to crash
If the file structure is:
libraries
downloader.js
external
readability.js
The following should work:
Ni.libraries.downloader
Ni.libraries.external.readability
I had a rather similar issue with our own sources checked out from a svn server.
Subversion generates directories named ".svn" in each subdirectory.
I've found a dirty workaround for me:
In "ni/lib/ni.js" line: 465 I've added:
if (! /~$/.test(file) && file!='.svn') {......
Do you mind making a more general "ignore paths" solution, including ".git" folders and such, and sending a pull request? Thanks!
of course, why not. thanks for ni.
regards
On Sun, Oct 9, 2011 at 1:51 AM, Chetan Surpur < [email protected]>wrote:
Do you mind making a more general "ignore paths" solution, including ".git" folders and such, and sending a pull request? Thanks!
Reply to this email directly or view it on GitHub: https://github.com/chetan51/ni/issues/4#issuecomment-2334439