mirror of https://github.com/docker/cli.git
docs: fix typos and version for cli-docs-tool scripts
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 64a3fb82dc
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
5ab44a4690
commit
54c8eb7941
|
@ -7,7 +7,7 @@ go 1.16
|
||||||
|
|
||||||
//require (
|
//require (
|
||||||
// github.com/docker/cli v0.0.0+incompatible
|
// github.com/docker/cli v0.0.0+incompatible
|
||||||
// github.com/docker/cli-docs-tool v0.5.0
|
// github.com/docker/cli-docs-tool v0.8.0
|
||||||
//)
|
//)
|
||||||
//
|
//
|
||||||
//replace github.com/docker/cli v0.0.0+incompatible => ../../
|
//replace github.com/docker/cli v0.0.0+incompatible => ../../
|
||||||
|
|
|
@ -20,7 +20,7 @@ trap clean EXIT
|
||||||
# init dummy go.mod
|
# init dummy go.mod
|
||||||
./scripts/vendor init
|
./scripts/vendor init
|
||||||
# install cli-docs-tool and copy docs/tools.go in root folder
|
# install cli-docs-tool and copy docs/tools.go in root folder
|
||||||
# to be able to fetch the required depedencies
|
# to be able to fetch the required dependencies
|
||||||
go mod edit -modfile=vendor.mod -require=github.com/docker/cli-docs-tool@${CLI_DOCS_TOOL_VERSION}
|
go mod edit -modfile=vendor.mod -require=github.com/docker/cli-docs-tool@${CLI_DOCS_TOOL_VERSION}
|
||||||
cp docs/generate/tools.go .
|
cp docs/generate/tools.go .
|
||||||
# update vendor
|
# update vendor
|
||||||
|
|
|
@ -20,7 +20,7 @@ trap clean EXIT
|
||||||
# init dummy go.mod
|
# init dummy go.mod
|
||||||
./scripts/vendor init
|
./scripts/vendor init
|
||||||
# install cli-docs-tool and copy docs/tools.go in root folder
|
# install cli-docs-tool and copy docs/tools.go in root folder
|
||||||
# to be able to fetch the required depedencies
|
# to be able to fetch the required dependencies
|
||||||
go mod edit -modfile=vendor.mod -require=github.com/docker/cli-docs-tool@${CLI_DOCS_TOOL_VERSION}
|
go mod edit -modfile=vendor.mod -require=github.com/docker/cli-docs-tool@${CLI_DOCS_TOOL_VERSION}
|
||||||
cp docs/generate/tools.go .
|
cp docs/generate/tools.go .
|
||||||
# update vendor
|
# update vendor
|
||||||
|
|
Loading…
Reference in New Issue