diff --git a/harness/build.go b/harness/build.go index e7e51e5..46ea8c1 100755 --- a/harness/build.go +++ b/harness/build.go @@ -200,7 +200,6 @@ func cleanDir(dir string) { } } - // genSource renders the given template to produce source code, which it writes // to the given directory and file. func genSource(dir, filename, templateSource string, args map[string]interface{}) { diff --git a/revel/build.go b/revel/build.go index 45e7d07..151478b 100644 --- a/revel/build.go +++ b/revel/build.go @@ -7,8 +7,8 @@ import ( "path/filepath" "strings" - "github.com/revel/revel" "github.com/revel/cmd/harness" + "github.com/revel/revel" ) var cmdBuild = &Command{ diff --git a/revel/run.go b/revel/run.go index 891415b..7b477df 100644 --- a/revel/run.go +++ b/revel/run.go @@ -1,8 +1,8 @@ package main import ( - "github.com/revel/revel" "github.com/revel/cmd/harness" + "github.com/revel/revel" "strconv" ) @@ -65,7 +65,7 @@ func runApp(args []string) { } // Else, just build and run the app. - revel.TRACE.Println("Running in live build mode.") + revel.TRACE.Println("Running in live build mode.") app, err := harness.Build() if err != nil { errorf("Failed to build app: %s", err) diff --git a/revel/test.go b/revel/test.go index 3128cd6..b20e6ad 100644 --- a/revel/test.go +++ b/revel/test.go @@ -3,9 +3,9 @@ package main import ( "encoding/json" "fmt" - "github.com/revel/revel" "github.com/revel/cmd/harness" "github.com/revel/modules/testrunner/app/controllers" + "github.com/revel/revel" "io" "io/ioutil" "net/http"