Skip to content

Conversation

@oktalk
Copy link

@oktalk oktalk commented Jul 27, 2017

Adds a parameter to specify a single template to generate a Litmus test for. It is typically not desirable to generate a test for all templates every time.

When you are ready to create a Litmus test run the following command:
npm run litmus -- --temp="basic"

Copy link
Contributor

@DanielRuf DanielRuf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be optional.

return gulp.src('dist/**/*.html')
if(!TEMP) {
beep();
console.log('[Litmus]'.bold.red + ' You are missing parameters. Please see README.md');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be a warning, otherwise it would be a breaking change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants