summaryrefslogtreecommitdiff
path: root/doBuild.go
diff options
context:
space:
mode:
Diffstat (limited to 'doBuild.go')
-rw-r--r--doBuild.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/doBuild.go b/doBuild.go
index 41c0571..504dfe0 100644
--- a/doBuild.go
+++ b/doBuild.go
@@ -3,14 +3,19 @@
package main
-/*
+import (
+ "fmt"
+
+ "go.wit.com/log"
+)
+
func doBuild() error {
v := []string{}
if argv.Verbose {
v = []string{"-v", "-x"}
}
- gopath := argv.Build
+ gopath := argv.Dev.Build
repo := me.forge.FindByGoPath(gopath)
if repo == nil {
@@ -29,7 +34,7 @@ func doInstall() error {
v = []string{"-v", "-x"}
}
- gopath := argv.Install
+ gopath := argv.Dev.Install
repo := me.forge.FindByGoPath(gopath)
if repo == nil {
return fmt.Errorf("rep not found: %s", gopath)
@@ -40,4 +45,3 @@ func doInstall() error {
}
return nil
}
-*/