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

不包含任何满足条件的go源代码的目录应该跳过编译 #29

Open
voidint opened this issue Dec 8, 2017 · 2 comments
Open
Labels

Comments

@voidint
Copy link
Owner

voidint commented Dec 8, 2017

假设当前为Linux amd64平台,GOPATHgithub.com/voidint/gbb/cmd/test目录下仅包含一个名为main_windows.go的源代码文件,使用gbb编译整个项目,会发生报错: build constraints exclude all Go files in xxxxxx

@voidint
Copy link
Owner Author

voidint commented Dec 8, 2017

test包在排除了main_windows.go文件后,就不包含任何源代码文件了,再去编译此包,就会报错。

@voidint voidint added the bug label Dec 8, 2017
@voidint
Copy link
Owner Author

voidint commented Mar 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant