Skip to content

Commit d4f201a

Browse files
committed
Update vendoring test to include embedded files
1 parent b9de51d commit d4f201a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/gopherjsvendored_test.sh

+5
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ func main() {
3737
for pkg in $(go list -f '{{if not .Goroot}}{{.ImportPath}}{{end}}' $(go list -f '{{.ImportPath}} {{join .Deps " "}}' github.com/gopherjs/gopherjs)); do
3838
copyGoPackage "$pkg" "$tmp/src/example.org/hello/vendor/$pkg"
3939
done
40+
# Two special cases
41+
for pkg in "github.com/gopherjs/gopherjs/js" "github.com/gopherjs/gopherjs/nosync"; do
42+
copyGoPackage "$pkg" "$tmp/src/example.org/hello/vendor/$pkg"
43+
done
44+
4045
cp -r "$(go list -f '{{.Dir}}' 'github.com/gopherjs/gopherjs/compiler/natives')/src" \
4146
"$tmp/src/example.org/hello/vendor/github.com/gopherjs/gopherjs/compiler/natives/src"
4247

0 commit comments

Comments
 (0)