ScottHamper / Cookies

JavaScript Client-Side Cookie Manipulation Library
The Unlicense
1.77k stars 170 forks source link

Can't use with grunt-bower-install #21

Closed deepfriedmind closed 10 years ago

deepfriedmind commented 10 years ago

When trying to use it with grunt-bower-install I get the following message:

cookies-js was not injected in your file.
Please go take a look in "app/bower_components/cookies-js" for the file you need, then manually include it in your file.

If added manually within bower HTML comments, it will be removed when using grunt-bower-install.

ScottHamper commented 10 years ago

I haven't used Grunt or grunt-bower-install, but this issue may be because Bower installs stuff based on semver tag branches and the most recent tag branch does not have a proper 'bower.json' file in it.

What happens if you try having grunt-bower-install run bower install cookies-js#master?

I'd like to create a new tag branch release soon, but I want to resolve Issue #18 first.

ScottHamper commented 10 years ago

Hey Andreas,

I've created a 0.3.2 tag branch for Cookies.js that Bower will now download after running bower install cookies-js. This release has a proper bower.json file, so I am optimistic that it will play nicely with grunt-bower-install.

I'm going to close out this issue for now, but if you continue to experience issues then feel free to reopen it.