docker / libcompose

*Unmaintained/Deprecated* An experimental go library providing Compose-like functionality
https://godoc.org/github.com/docker/libcompose
Apache License 2.0
585 stars 191 forks source link

Fix ability to use go test ./... #526

Open CpuID opened 4 years ago

CpuID commented 4 years ago

Fix ability to use go test ./..., by changing the file suffix for the schema template (which is actually part of a different package)

Some tests fail (mostly in integration), which I assume work via make test? At least having go test ./... gives you a high level of all sub-packages whats good vs not.

Avoids the error:

can't load package: package github.com/docker/libcompose/hack: found packages main (inline_schema.go) and config (schema_template.go) in /home/nathan/git/cpuid/libcompose/hack