petejkim / goop

A simple dependency manager for Go (golang), inspired by Bundler.
MIT License
779 stars 45 forks source link

Customize location of vendor dir #28

Open josegonzalez opened 9 years ago

josegonzalez commented 9 years ago

It would be nice if I could specify the directory where goop installs requirements. For instance, I'd want to use a .goenv directory instead - I use .virtualenv for python, and .rbenv for ruby.

I'm not sure what this would look like - it looks like you might parse the Goopfile after you create the NewGoop instance, so adding it to the Goopfile is out. Perhaps an environment variable? GOOP_VENDOR_DIR?