mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-21 22:54:58 +00:00
Updates references to module import paths
This commit is contained in:
committed by
Justin Li
parent
6ea9d159b2
commit
eaa1f8b19e
@@ -5,7 +5,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"github.com/revel/revel"
|
"github.com/revel/revel"
|
||||||
"github.com/revel/revel/harness"
|
"github.com/revel/revel/harness"
|
||||||
"github.com/revel/revel/modules/testrunner/app/controllers"
|
"github.com/revel/modules/testrunner/app/controllers"
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
@@ -62,7 +62,7 @@ func testApp(args []string) {
|
|||||||
// Ensure that the testrunner is loaded in this mode.
|
// Ensure that the testrunner is loaded in this mode.
|
||||||
testRunnerFound := false
|
testRunnerFound := false
|
||||||
for _, module := range revel.Modules {
|
for _, module := range revel.Modules {
|
||||||
if module.ImportPath == "github.com/revel/revel/modules/testrunner" {
|
if module.ImportPath == "github.com/revel/modules/testrunner" {
|
||||||
testRunnerFound = true
|
testRunnerFound = true
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
@@ -72,7 +72,7 @@ func testApp(args []string) {
|
|||||||
|
|
||||||
You can add it to a run mode configuration with the following line:
|
You can add it to a run mode configuration with the following line:
|
||||||
|
|
||||||
module.testrunner = github.com/revel/revel/modules/testrunner
|
module.testrunner = github.com/revel/modules/testrunner
|
||||||
|
|
||||||
`)
|
`)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user