truffle icon indicating copy to clipboard operation
truffle copied to clipboard

Deprecate the `build` command

Open eggplantzzz opened this issue 5 years ago • 7 comments

eggplantzzz avatar Aug 03 '20 19:08 eggplantzzz

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

benediamond avatar Aug 28 '20 18:08 benediamond

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!

eggplantzzz avatar Aug 28 '20 19:08 eggplantzzz

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.

benediamond avatar Aug 28 '20 22:08 benediamond

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 :)

eggplantzzz avatar Aug 31 '20 12:08 eggplantzzz

Very helpful! Thanks.

benediamond avatar Aug 31 '20 13:08 benediamond

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....

henry-hz avatar Sep 26 '20 20:09 henry-hz

'[truffle compile' seems to blow up too!

oducille avatar Dec 22 '23 22:12 oducille