-
Notifications
You must be signed in to change notification settings - Fork 5
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
Conversation
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 |
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')); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in #14
Support All file formats and pass file config in temp file
@Graham42 thanks! |
Grunt tasks can have different file config formats according to the grunt Configuring tasks guide. This will add support for all file formats:
This fixes Unable to run with either traceur or react #7 and Unable to write "undefined" file #8
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