mllrsohn / grunt-invalidate-cloudfront

Sends a invalidation request to amazon cloudfront
MIT License
26 stars 13 forks source link

Rename src to tasks #1

Closed 4eek closed 11 years ago

4eek commented 11 years ago

I believe that Grunt is expecting a "tasks" folder and not a "src" folder.

I was getting this error...

Local Npm module "grunt-invalidate-cloudfront" not found. Is it installed?

When I renamed src to tasks the invalidation worked.

steffenmllr commented 11 years ago

Npm should normally take care of that. There is a prepublish hook that should take care of that.

https://github.com/mllrsohn/grunt-invalidate-cloudfront/blob/master/package.json#L28

But I'll look into it. Thanks for the report

ghost commented 11 years ago

I still have this problem

steffenmllr commented 11 years ago

Should be fixed with https://github.com/mllrsohn/grunt-invalidate-cloudfront/commit/94a08229126775e95f411e938491fa90c51ab0b5

Also published it to npm

ghost commented 11 years ago

it works. thanks for your quick reply. So the problem is npm updated new version so there is no need for prepublish ?

steffenmllr commented 11 years ago

prepublish would take care and run coffee local on my dev environment before publishing the module to npm. But somehow that is broken. Anyways I just added it to the repo. If I find the time, I'll rewrite it in js to get rid of the coffee file :)

ghost commented 11 years ago

awesome, thanks for the explanation :)