Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between a Custom Build Step and a Post-Build Event?

Both project settings allow me to execute custom commands. What are the benefits or drawbacks of each?

like image 238
Dave Mooney Avatar asked Oct 04 '10 15:10

Dave Mooney


Video Answer


1 Answers

Big difference. A custom build step allows you to specify dependencies and outputs. Which allows the build system to determine when to execute the step and to skip it when the output is already up to date. A post-build event is always executed when the project requires building and its timing is fixed.

like image 170
Hans Passant Avatar answered Oct 11 '22 06:10

Hans Passant