-
Notifications
You must be signed in to change notification settings - Fork 41
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
Generate bindata on build #36
Comments
Your are totally right. Thanks for your feedback. |
none yet, I appreciate the quick response. I'll admit, I opened this issue because I loved how pome bundled everything into one executable and I immediately started trying to figure out how to replicate the feature in some of my go services. |
It's decent as solution if you build something for a small traffic so it works for Pome as it's not made for being public. A lot of asset serving tool use kernel feature from what I'm aware to be efficient, I didn't test but I have doubt that serving the asset from go will be efficient. |
There is now a Makefile in develop to build the different part of the project |
Right now, changing the web source does nothing if you don't run go-bindata and create a new bindata.go file. I think this is probably a bit confusing to people looking to expand on the project and a bit of a VCS-antipattern. Typically with projects that use generated source code (see protobuf, thrift, etc), there is a "gen" stage that is done before the "build" stage.
We could implement this with a Makefile that builds bindata.go.
Let me know how you feel about this.
The text was updated successfully, but these errors were encountered: