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

Doesn't work if there's more than one main() function #7

Closed
maddie opened this issue Apr 3, 2019 · 2 comments
Closed

Doesn't work if there's more than one main() function #7

maddie opened this issue Apr 3, 2019 · 2 comments

Comments

@maddie
Copy link

maddie commented Apr 3, 2019

I know this shouldn't happen, but I have a helper program that builds my project for different GOOS/GOARCH concurrently that resides within the project, along with the main.go.

If I run goweight, it exits with:

2019/04/03 10:58:28 exit status 2

Maybe there should be some way to define which .go files should be used to compile, or to exclude?

@yeka
Copy link
Contributor

yeka commented Apr 4, 2019

#9 should help your issue.

@jondot
Copy link
Owner

jondot commented Apr 5, 2019

Thanks all - merged and closing ❤️

@jondot jondot closed this as completed Apr 5, 2019
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

3 participants