2023-10-22 14:32:01 +00:00
|
|
|
hugo mod get -u
|
|
|
|
hugo mod graph
|
|
|
|
stdout 'commonmod@v1.0.1.*commonmod2@v1.0.2'
|
|
|
|
|
|
|
|
-- hugo.toml --
|
|
|
|
title = "Hugo Modules Update Test"
|
2024-02-22 15:00:03 +00:00
|
|
|
theme = ["my-theme"]
|
2023-10-22 14:32:01 +00:00
|
|
|
[module]
|
|
|
|
[[module.imports]]
|
|
|
|
path="github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml"
|
|
|
|
disable = true
|
|
|
|
[[module.imports]]
|
|
|
|
path="github.com/gohugoio/hugo-mod-integrationtests/withhugotoml"
|
|
|
|
-- go.mod --
|
|
|
|
module foo
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
|
|
github.com/gohugoio/hugo-mod-integrationtests/withhugotoml v1.1.0 // indirect
|
|
|
|
github.com/gohugoio/hugo-mod-integrationtests/commonmod v0.0.0-20230823103305-919cefe8a425 // indirect
|
|
|
|
)
|
2024-02-22 15:00:03 +00:00
|
|
|
-- themes/my-theme/dummy.txt --
|
|
|
|
MY THEME
|