moby/hack/make/yaml-docs-generator
French Ben 43e3b8d2cc docs: added support for CLI yaml file generation
Signed-off-by: French Ben <frenchben@docker.com>
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 5443f0152f)
Signed-off-by: Tibor Vass <tibor@docker.com>
2017-03-28 17:41:46 -07:00

12 lines
241 B
Bash

#!/usr/bin/env bash
set -e
[ -z "$KEEPDEST" ] && \
rm -rf "$DEST"
(
source "${MAKEDIR}/.binary-setup"
export BINARY_SHORT_NAME="yaml-docs-generator"
export GO_PACKAGE='github.com/docker/docker/docs/yaml'
source "${MAKEDIR}/.binary"
)