Skip to content

Add litmus arg#50

Open
oktalk wants to merge 1 commit into
foundation:masterfrom
oktalk:feature/litmus-speficic-tests
Open

Add litmus arg#50
oktalk wants to merge 1 commit into
foundation:masterfrom
oktalk:feature/litmus-speficic-tests

Conversation

@oktalk

@oktalk oktalk commented Jul 27, 2017

Copy link
Copy Markdown

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"

@DanielRuf DanielRuf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should be optional.

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

Copy link
Copy Markdown
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