Truffle: Deprecate the `build` command

Created on 3 Aug 2020  路  6Comments  路  Source: trufflesuite/truffle

All 6 comments

Why is this being done? What should we use instead?

The team had a discussion and decided that this lies outside of what we think Truffle should do. We think that utilizing a task-running utility like gulp or grunt would be a better way of handling a build step for a project. If you have questions about a specific type of task then feel free to ask here! We'll try and help you find a solution!

Ok, thanks. Yeah, I think the simple answer to my question is "just use truffle compile". That's what I had been using truffle build to achieve.

Thanks again.

truffle build was meant to allow you to define extra build steps in addition to compiling each time a build is kicked off. That is why I suggested grunt or gulp, as those task-running utilities are more robust and better for customizing the job of building your project :)

Very helpful! Thanks.

The team had a discussion and decided that this lies outside of what we think Truffle should do. We think that utilizing a task-running utility like gulp or grunt would be a better way of handling a build step for a project. If you have questions about a specific type of task then feel free to ask here! We'll try and help you find a solution!

I think that just the opposite, Truffle comes to help us to build a boilerplate alone, and have all-in-one toolbox to start coding as soon as possible....

Was this page helpful?
0 / 5 - 0 ratings