Forums

Posting in these forums is disabled. These forums will be available for archive purposes. Please join the new forums at the links below:

  • yui-support - replaces the `YUI 3.x` and `YUI 3 Gallery` forums.
    We have created the following discussion categories within this group to aid discoverability for these most-used topics:
    • Charts for YUI Charts support.
    • DataTable for YUI DataTable support.
    • Gallery for YUI Gallery support, including support for published Gallery components as well as the Gallery process in general.
    • Tools for support of YUI’s suite of developer tools such as selleck, shifter, grover, yogi, etc.
    • Everything Else for questions that don’t fit one of the categories above, we’ve got you covered here.
  • yui-deprecated - replaces the `YUI 2.x` forum and the forums of other deprecated products (`YUI Doc`, `Builder`, `YUI PHP Loader`, etc.).
  [ 1 post ]
New Topic | Post Reply | Print view
Previous topic | Next topic

Guozheng Ge

  • Username: gzge
  • Joined: Tue Jun 28, 2011 4:56 pm
  • Posts: 3
  • Offline
  • Profile
Tags:
  • yuitest-coverage

yuitest-coverage how to exclude sub dirs in an input dir

Post Posted: Wed Jun 29, 2011 2:46 pm
I have an input js dir that contains some third party js libs (in node_modules), and they are causing yuitest-coverage Java parser exceptions. Is there any easier way to exclude sub dirs, like -x/--exclude <sub_dir>?

For example, I have this input js code dir:

Code:
src
- index.js
- node_modules
- lib
   - my-lib
     - another_lib_dont_want
     - my.js
   - his-lib
     - his.js


How to exclude node_modules?

Currently, I have to split into multiple yuitest-coverage commands:

Code:
<manually create the dest directory structures>
yuitest-coverage src/index.js -o dest/index.js
yuitest-coverage src/lib/my-lib/my.js -o dest/lib/my-lib/my.js
yuitest-coverage -d src/lib/his-lib -o dest/lib/his-lib


This is very inconvenient since now we need to track each lib and js file that we want, instead of using some exclude syntax.
  [ 1 post ]
New Topic | Post Reply | Print view
Previous topic | Next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum