Install godep to install further dependencies
This commit is contained in:
parent
1ef358d1a3
commit
3e45796d72
1 changed files with 3 additions and 0 deletions
|
@ -143,6 +143,9 @@ func Install() error {
|
||||||
// InstallDeps Runs dep ensure and installs additional dependencies.
|
// InstallDeps Runs dep ensure and installs additional dependencies.
|
||||||
func InstallDeps() error {
|
func InstallDeps() error {
|
||||||
fmt.Println("Installing Deps...")
|
fmt.Println("Installing Deps...")
|
||||||
|
|
||||||
|
exec.Command("go", "get", "-u", "github.com/golang/dep/cmd/dep")
|
||||||
|
|
||||||
err := exec.Command("dep", "ensure").Run()
|
err := exec.Command("dep", "ensure").Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue