Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CpuID
Copy link
Contributor

@CpuID CpuID commented Aug 14, 2019

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

schema template (which is actually part of a different package)

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

Signed-off-by: Nathan Sullivan <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant