2023-07-08 10:25:53 +00:00
|
|
|
dostounix golden/vendor.txt
|
|
|
|
|
|
|
|
hugo mod vendor
|
|
|
|
cmp _vendor/modules.txt golden/vendor.txt
|
|
|
|
ls _vendor/github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml
|
|
|
|
stdout 'config.toml'
|
|
|
|
ls _vendor/github.com/gohugoio/hugo-mod-integrationtests/withhugotoml
|
|
|
|
stdout 'hugo.toml'
|
|
|
|
|
|
|
|
|
2023-08-23 16:14:43 +00:00
|
|
|
|
2023-07-08 10:25:53 +00:00
|
|
|
-- hugo.toml --
|
|
|
|
title = "Hugo Modules Test"
|
|
|
|
[module]
|
|
|
|
[[module.imports]]
|
|
|
|
path="github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml"
|
|
|
|
[[module.imports]]
|
|
|
|
path="github.com/gohugoio/hugo-mod-integrationtests/withhugotoml"
|
|
|
|
-- go.mod --
|
|
|
|
go 1.19
|
|
|
|
|
|
|
|
module github.com/gohugoio/testmod
|
2023-08-23 16:14:43 +00:00
|
|
|
|
|
|
|
require (
|
|
|
|
github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml v1.0.0
|
|
|
|
github.com/gohugoio/hugo-mod-integrationtests/withhugotoml v1.0.0
|
|
|
|
)
|
|
|
|
|
2023-07-08 10:25:53 +00:00
|
|
|
-- golden/vendor.txt --
|
2023-08-23 16:14:43 +00:00
|
|
|
# github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml v1.0.0
|
|
|
|
# github.com/gohugoio/hugo-mod-integrationtests/withhugotoml v1.0.0
|