Skip to content

Commit

Permalink
feat: support --files on coverage and release
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jul 8, 2017
1 parent 5468940 commit 9d58062
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmds/coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ module.exports = {
type: 'array',
choices: Object.keys(coverage.providers),
default: ['codecov']
},
files: {
alias: 'f',
describe: 'Custom globs for files to test',
type: 'array',
default: []
}
},
handler (argv) {
Expand Down
6 changes: 6 additions & 0 deletions cmds/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ module.exports = {
type: 'string',
choices: ['major', 'minor', 'patch', 'prerelease'],
default: 'patch'
},
files: {
alias: 'f',
describe: 'Custom globs for files to test',
type: 'array',
default: []
}
},
handler (argv) {
Expand Down

0 comments on commit 9d58062

Please sign in to comment.