I would like to install a formula step by step, get the folder where the files are extracted from the zip, run configure, and do make and make install with the options set by the formula.
When I run:
brew install -vd formula
It justs show the output, I would like to stop at each stage. It is possible ?
Homebrew will automatically give you a chance to inspect things when something goes wrong in the installation. Therefore, all you have to do to let yourself poke around is to force something to go wrong at whatever point you wish. For example, you could include this in your formula:
system "false"
Homebrew will present a menu asking you want you want to do. Choose the "shell" option to inspect the build environment.
You might also try running the brew
command in the Ruby debugger. Then you can set breakpoints wherever you wish.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With