mirror of
https://github.com/docker/cli.git
synced 2026-08-28 10:05:17 -05:00
While the "-modfile=vendor.mod" is slightly more correct, using a symlink allows for most of the go tools to work "as usual", just without an acual `go.mod` being committed in the repository. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
8 lines
195 B
Bash
Executable File
8 lines
195 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu
|
|
|
|
mkdir -p docs/yaml
|
|
set -x
|
|
go run -mod=vendor -tags docsgen ./docs/generate/generate.go --formats yaml --source "./docs/reference/commandline" --target "./docs/yaml"
|