mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-11 18:54:31 +00:00
Added verbose logging to building / testing a no-vendor app
Removed section which raises an error when examining packages, we dont need to check for errors on foreign packages since we are importing only a slice of the data
This commit is contained in:
@@ -58,8 +58,8 @@ script:
|
|||||||
# Check build works with no-vendor flag
|
# Check build works with no-vendor flag
|
||||||
- cd $GOPATH
|
- cd $GOPATH
|
||||||
- export GO111MODULE=auto
|
- export GO111MODULE=auto
|
||||||
- revel new -a my/testapp2 --no-vendor
|
- revel new -a my/testapp2 --no-vendor -v
|
||||||
- revel test -a my/testapp2
|
- revel test -a my/testapp2 -v
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
|
|||||||
@@ -119,9 +119,7 @@ func (s *SourceProcessor) addImportMap() (err error) {
|
|||||||
if len(p.Errors) > 0 {
|
if len(p.Errors) > 0 {
|
||||||
// Generate a compile error
|
// Generate a compile error
|
||||||
for _, e := range p.Errors {
|
for _, e := range p.Errors {
|
||||||
if !strings.Contains(e.Msg, "fsnotify") {
|
s.log.Info("While reading packages encountered import error ignoring ", "PkgPath", p.PkgPath, "error", e)
|
||||||
err = utils.NewCompileError("", "", e)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for _, tree := range p.Syntax {
|
for _, tree := range p.Syntax {
|
||||||
|
|||||||
Reference in New Issue
Block a user