Skip to content

Commit

Permalink
Update files pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Nov 19, 2019
1 parent 460aac7 commit b8ace47
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The function accepts the following `options`:

- **dir**: root directory from which to search for packages. May be either an absolute path or a path relative to the current working directory. Default: current working directory.
- **packages_pattern**: glob pattern used to find packages. Default: `'**/package.json'` (note: pattern **must** end with `package.json`).
- **files_pattern**: glob pattern used to find benchmark files within a package. Default: `'**/benchmark/**/benchmark*.js'`.
- **files_pattern**: glob pattern used to find benchmark files within a package. Default: `'benchmark/**/benchmark*.js'`.
- **ignore**: list of glob patterns used to exclude package matches.
- **bundle**: output bundle file name. Default: `'benchmark_bundle.js'`.
- **html**: output HTML file name which loads a benchmark bundle. Default: `'benchmark.html'`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"ignore": [],
"mount": "/",
"packages_pattern": "**/package.json",
"files_pattern": "**/benchmark/**/benchmark*.js",
"files_pattern": "benchmark/**/benchmark*.js",
"title": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var debug = logger( 'benchmark-bundles:async' );
* @param {StringArray} [options.ignore=[]] - ignore patterns
* @param {string} [options.mount='/'] - base URL mount
* @param {Object} [options.packages_pattern='**\/package.json'] - glob pattern
* @param {Object} [options.files_pattern='**\/benchmark\/**\/benchmark*.js'] - glob pattern
* @param {Object} [options.files_pattern='benchmark\/**\/benchmark*.js'] - glob pattern
* @param {string} [options.title='benchmark.html'] - HTML title
* @param {Function} clbk - callback
* @throws {TypeError} first argument must be a string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The function accepts the following `options`:

- **dir**: root directory from which to search for packages. May be either an absolute path or a path relative to the current working directory. Default: current working directory.
- **packages_pattern**: glob pattern used to find packages. Default: `'**/package.json'` (note: pattern **must** end with `package.json`).
- **files_pattern**: glob pattern used to find test files within a package. Default: `'**/test/**/test*.js'`.
- **files_pattern**: glob pattern used to find test files within a package. Default: `'test/**/test*.js'`.
- **ignore**: list of glob patterns used to exclude package matches.
- **bundle**: output bundle file name. Default: `'test_bundle.js'`.
- **html**: output HTML file name which loads a test bundle. Default: `'test.html'`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"ignore": [],
"mount": "/",
"packages_pattern": "**/package.json",
"files_pattern": "**/test/**/test*.js",
"files_pattern": "test/**/test*.js",
"title": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var debug = logger( 'test-bundles:async' );
* @param {StringArray} [options.ignore=[]] - ignore patterns
* @param {string} [options.mount='/'] - base URL mount
* @param {Object} [options.packages_pattern='**\/package.json'] - glob pattern
* @param {Object} [options.files_pattern='**\/test\/**\/test*.js'] - glob pattern
* @param {Object} [options.files_pattern='test\/**\/test*.js'] - glob pattern
* @param {string} [options.title='test.html'] - HTML title
* @param {Function} clbk - callback
* @throws {TypeError} first argument must be a string
Expand Down

0 comments on commit b8ace47

Please sign in to comment.