libgit2 / node-gitteh

Node.js bindings for libgit2
http://libgit2.github.com
MIT License
431 stars 56 forks source link

Dependency issues #70

Closed sharat closed 10 years ago

sharat commented 10 years ago

I did the following steps and found that some hardcoded portion of code causing issues to run gitteh library

  env = "Release";

  bindings = require("../build/" + env + "/gitteh");

The above code creates hardcoded dependency in the project. how should I run this?

samcday commented 10 years ago

This shouldn't be a problem when the library is npm installed into other projects. If you're wanting to do dev work on gitteh itself, then simply change env to "Development". It's not ideal I know, I just never got around to fixing that ;)