-
Notifications
You must be signed in to change notification settings - Fork 566
Makefile for scaffolded app #288
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
Comments
What you guys think about adding a Pre/post hooks would look like:
Custom scripts:
We can also enable customization on builds and installations in some degree e.g. providing arbitrarily flags or they can be completely overwritten by users with other commands:
Running these scripts:
-similar to how NPM deals with these- The idea is to reduce one more dependency (in this case make) from the scaffolded app which requires knowledge on how to use the Makefile and introduces another installation step for make since it is not available by default on every platform. I wonder if this idea is sensible and can fullfil your use cases with a Makefile @Tosch110 @lukitsbrian? How other scaffolding tools handle this? |
Yes, that is a good idea and approach. I did not consider that it would require an additional dependency. Pre/Post Hooks sound cool! |
Currently there is an "incorrect" Makefile, will this be abandoned then? |
@Tosch110 Yes, This should be deleted: https://github.com/tendermint/starport/blob/develop/starport/templates/app/launchpad/Makefile.plush |
I fully support the |
This is still relevant. This is part of a bigger feature of |
This issue is still relevant to longer running discussions of a more advanced build system |
Uh oh!
There was an error while loading. Please reload this page.
It would be great if we could have a more dedicated
Makefile
in our application.Currently after scaffolding, we get a
Makefile
with the following content:I think starting with adapting the daemon and cli names to the scaffolded application, it would be nice to have a few more commands available in the
Makefile
.What would make sense for a minimal setup would be the commands
Later as soon as tests are integrated, these would be a great addition to the
Makefile
The text was updated successfully, but these errors were encountered: