Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

gb generate fails on no-go folders #687

Open
fzerorubigd opened this issue Jan 27, 2017 · 0 comments
Open

gb generate fails on no-go folders #687

fzerorubigd opened this issue Jan 27, 2017 · 0 comments

Comments

@fzerorubigd
Copy link

fzerorubigd commented Jan 27, 2017

Running gb generate on a folder that contain other folders with no .go inside them (like html/css/js assets) fails with

can't load package: package statics/swagger: no buildable Go source files in /path/to/statics/swagger

the job is done, but gb exit code is 1 and not zero. so I can not depend on output if there is actually an error in my command or its the folder without go code.

ps : Also it is nice to have -x -v and -n support just like the go tools.

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

No branches or pull requests

1 participant