Install godep to install further dependencies

This commit is contained in:
Christian Claus 2018-04-13 12:46:30 +02:00
parent 1ef358d1a3
commit 3e45796d72

View file

@ -143,6 +143,9 @@ func Install() error {
// InstallDeps Runs dep ensure and installs additional dependencies.
func InstallDeps() error {
fmt.Println("Installing Deps...")
exec.Command("go", "get", "-u", "github.com/golang/dep/cmd/dep")
err := exec.Command("dep", "ensure").Run()
if err != nil {
return err