bower: Awkwardness with components that don't have built versions in repo

I tried using zepto installed through bower and had a strange experience, everything else installed and worked great right out of the box (d3, backbone/_).

Here was my process, problems I found and the fix:

  1. bower install zepto
  2. realize zepto doesn’t include a built version of the library in the repo
  3. cd to zepto in components, run rake
  4. now everything works locally
  5. CI tests fail (and deployment fails)
  6. realize zepto includes it’s own .gitignore which was ignoring “dist” from my app’s repo
  7. edit .gitignore and recommit/redeploy

Am I missing something here? or is the zepto repo in a not-so-bower-friendly state?

edit: This might be something I should take up with the fine folks behind zepto, I just imagine this would be a problem for any library repo that requires a make/npm install/rake build process before it’s use.

About this issue

  • Original URL
  • State: closed
  • Created 12 years ago
  • Comments: 34 (21 by maintainers)

Most upvoted comments

bower install --save http://zeptojs.com/zepto.js should work out of the box

One of the top reasons I use bower is so I don’t have to find this URL. We want installing zepto to be as easy to bower install zepto