nanobox-io / nanobox-engine-golang

Engine for running Go apps with Nanobox
https://nanobox.io
MIT License
4 stars 6 forks source link

Add support for fetching deps from multiple solutions #14

Open tylerflint opened 7 years ago

tylerflint commented 7 years ago

When the engine was originally designed, the solutions for vendoring were mostly in disarray. As time has passed, it appears that a few solutions are starting to be standardized:

The engine should be modified to check for the aforementioned vendoring solutions and run the vendor fetch command accordingly.

glinton commented 7 years ago

Until this becomes automagical, the go engine does allow the fetch command to be specified:

run.config:
 engine: golang
 engine.config:
   fetch: go get -v ./...