mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-11 18:54:31 +00:00
Added github.com/revel/revel as an import path to be always copied.
This commit is contained in:
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
@@ -6,7 +6,7 @@
|
|||||||
{
|
{
|
||||||
"label": "Clean-Test-Project",
|
"label": "Clean-Test-Project",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "rm -rf ${workspaceRoot}/.temp/revel/reveltest"
|
"command": "rm -rf ${workspaceRoot}/.temp/revel/reveltest && mkdir -p ${workspaceRoot}/.temp/revel/GOPATH"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Update Go Mod",
|
"label": "Update Go Mod",
|
||||||
|
|||||||
@@ -308,7 +308,7 @@ func (rp *RevelContainer) loadModules(callback RevelCallback) (err error) {
|
|||||||
|
|
||||||
// Adds a module paths to the container object.
|
// Adds a module paths to the container object.
|
||||||
func (rp *RevelContainer) vendorInitilizeLocal(modtxtPath string, revel_modules_keys []string) []*Mod {
|
func (rp *RevelContainer) vendorInitilizeLocal(modtxtPath string, revel_modules_keys []string) []*Mod {
|
||||||
revel_modules := []string{}
|
revel_modules := []string{"github.com/revel/revel"}
|
||||||
for _, key := range revel_modules_keys {
|
for _, key := range revel_modules_keys {
|
||||||
moduleImportPath := rp.Config.StringDefault(key, "")
|
moduleImportPath := rp.Config.StringDefault(key, "")
|
||||||
if moduleImportPath == "" {
|
if moduleImportPath == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user