mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-23 11:41:32 +00:00
e363964f2f
Closes #11458
15 lines
No EOL
314 B
Text
15 lines
No EOL
314 B
Text
# Test the hugo init command.
|
|
dostounix golden/go.mod.testsubmod
|
|
|
|
hugo mod init testsubmod
|
|
cmpenv go.mod $WORK/golden/go.mod.testsubmod
|
|
|
|
-- hugo.toml --
|
|
title = "Hugo Modules Test"
|
|
[module]
|
|
[[module.imports]]
|
|
path="github.com/bep/empty-hugo-module"
|
|
-- golden/go.mod.testsubmod --
|
|
module testsubmod
|
|
|
|
go ${GOVERSION} |