Why JsDuck ignores excluded directory?

145 Views Asked by At

I use JsDusk

  • Version : JSDuck 5.3.4 (Ruby 1.8.7)
  • OS: Linux ( CentOS 6 )

I want to exclude some directories, but it doesn't work.

 --exclude="/Doc/Project1/application/,/Doc/Project1/docs/,/Doc/Project1/docUtil/"

Actually it should works. Here is the jsDuck Code .

I start jsDuck in a script with the command below.

find /Doc/Project1/ -name '*.js' | xargs jsduck --output=/Doc/DocSrc/jsdoc --exclude=/Doc/Project1/application/ext,/Doc/Project1/application/,/Project1/docs,/Doc/Project1/docUtil,/Doc/Project1/framework,/jawaDoc/Project1/info
1

There are 1 best solutions below

2
Rene Saarsoo On BEST ANSWER

The commit you're referring to is included to JSDuck 6.0 beta, but you're using 5.3.4.

You can install the beta with:

$ gem install jsduck --prerelease