Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use goreleaser #119

Closed
iamclaytonray opened this issue May 20, 2018 · 1 comment
Closed

Use goreleaser #119

iamclaytonray opened this issue May 20, 2018 · 1 comment

Comments

@iamclaytonray
Copy link

iamclaytonray commented May 20, 2018

The issue template is irrelevant, so I deleted it. Would it be beneficial to use goreleaser? If so, I can shoot a PR over

@vektah
Copy link
Collaborator

vektah commented May 20, 2018

The hard part here isn't building a binary, its making sure the generated code is importing the same version of gqlgen that was used to generate it.

Using gorunpkg means you don't need to install the binary at all, just use the one in vendor so they can never be out of sync.

Maybe there could be a separate binary that does Skeleton generation and sets up dep correctly then calls into gqlgen to do the generation?

@vektah vektah closed this as completed May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants