...

Text file src/cmd/go/testdata/script/build_vendor.txt

Documentation: cmd/go/testdata/script

     1# Build
     2env GO111MODULE=off
     3go build vend/x
     4! stdout .
     5! stderr .
     6
     7-- vend/dir1/dir1.go --
     8package dir1
     9-- vend/subdir/bad.go --
    10package subdir
    11
    12import _ "r"
    13-- vend/subdir/good.go --
    14package subdir
    15
    16import _ "p"
    17-- vend/vendor/p/p.go --
    18package p
    19-- vend/vendor/q/q.go --
    20package q
    21-- vend/vendor/vend/dir1/dir2/dir2.go --
    22package dir2
    23-- vend/x/invalid/invalid.go --
    24package invalid
    25
    26import "vend/x/invalid/vendor/foo"
    27-- vend/x/vendor/p/p/p.go --
    28package p
    29
    30import _ "notfound"
    31-- vend/x/vendor/p/p.go --
    32package p
    33-- vend/x/vendor/r/r.go --
    34package r
    35-- vend/x/x.go --
    36package x
    37
    38import _ "p"
    39import _ "q"
    40import _ "r"
    41import _ "vend/dir1"      // not vendored
    42import _ "vend/dir1/dir2" // vendored

View as plain text