Skip to content

Commit

Permalink
Merge pull request #3253 from thaJeztah/native_embed
Browse files Browse the repository at this point in the history
cli/compose: use go1.16 native embed functionality for schemas
  • Loading branch information
silvin-lubecki committed Aug 16, 2021
2 parents 304a2dc + 818564a commit e3dfc24
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 672 deletions.
8 changes: 0 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,8 @@ yamldocs: ## generate documentation YAML files consumed by docs repo
help: ## print this help
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z0-9_-]+:.*?## / {gsub("\\\\n",sprintf("\n%22c",""), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)


cli/compose/schema/bindata.go: cli/compose/schema/data/*.json
go generate github.com/docker/cli/cli/compose/schema

compose-jsonschema: cli/compose/schema/bindata.go ## generate compose-file schemas
scripts/validate/check-git-diff cli/compose/schema/bindata.go

.PHONY: ci-validate
ci-validate:
time make -B vendor
time make -B compose-jsonschema
time make manpages
time make yamldocs

0 comments on commit e3dfc24

Please sign in to comment.