Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support All file formats and pass file config in temp file #11

Merged
merged 8 commits into from
Mar 28, 2015
Merged

Support All file formats and pass file config in temp file #11

merged 8 commits into from
Mar 28, 2015

Conversation

Graham42
Copy link
Contributor

Grunt tasks can have different file config formats according to the grunt Configuring tasks guide. This will add support for all file formats:

To simplify this work I first modified the way file config is passed to the child process. It is now passed in a temporary file which should address large configurations and fix #4

@Graham42
Copy link
Contributor Author

Not sure why the travis build is failing, all tests pass for me.

Edit: So the travis build appears to be failing because the tests don't properly allow for the asyncronous nature of this module. The tests require that the child processes get executes in a specific order, which there is no gaurentee they will. I've raised #12 for this

@teppeis
Copy link
Owner

teppeis commented Feb 13, 2015

Thank you for pull-req. I'll check later.

@@ -65,7 +101,8 @@ function testGruntfile(name, callback) {
return;
}
try {
expect(stdout).to.be(expected);
expect(stdout.split('\n').sort().join('\n'))
.to.be(expected.split('\n').sort().join('\n'));
Copy link
Owner

Choose a reason for hiding this comment

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

This change could pass failure result. but ok, I'll fix it later.

Copy link
Owner

Choose a reason for hiding this comment

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

fixed in #14

teppeis added a commit that referenced this pull request Mar 28, 2015
Support All file formats and pass file config in temp file
@teppeis teppeis merged commit bbfa8c1 into teppeis:master Mar 28, 2015
@teppeis
Copy link
Owner

teppeis commented Mar 28, 2015

@Graham42 thanks!

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.

Unable to run with either traceur or react
2 participants