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

Node executing cli.js #4

Closed
mwienk opened this issue Jan 11, 2014 · 3 comments
Closed

Node executing cli.js #4

mwienk opened this issue Jan 11, 2014 · 3 comments

Comments

@mwienk
Copy link

mwienk commented Jan 11, 2014

I couldn't get your plugin to work, normal grunt task finishes perfectly, but using the gradle wrapped commands, it didn't.

After digging in, I found that the plugin uses the following command:

/home/mark/.gradle/nodejs/node-v0.11.9-linux-x64/bin/node /home/mark/test/node_modules/grunt-cli/lib/cli.js build

Executing the command directly also finishes without any results. Anyway, changing the command to:

/home/mark/.gradle/nodejs/node-v0.11.9-linux-x64/bin/node /home/mark/test/node_modules/grunt-cli/bin/grunt build

did work.

Are you sure you should be using the cli.js? And not the build grunt application in the /bin folder?

@srs
Copy link
Owner

srs commented Jan 11, 2014

Thanks for reporting this. It works perfectly on my machine (Mac OSX) using cli.js and tought that it would work similarly on linux.

It looks like bin/grunt is probably better and works on OSX too. Will fix this or could you make a pull request?

Thanks again!

@srs srs closed this as completed in ef9e75a Jan 12, 2014
@srs
Copy link
Owner

srs commented Jan 12, 2014

Fixed it. Did a last minute change before releasing 0.3. Should never have done that. It works now on both Linux and OSX. Will test windows on monday.

Thanks again for submitting the issue.

@mwienk
Copy link
Author

mwienk commented Jan 12, 2014

That was fast, great! Thank you

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

No branches or pull requests

2 participants