Split brew cask to a seperated step

This commit is contained in:
Roey Darwish Dror
2020-07-02 08:37:18 +03:00
parent 6300d6fb2a
commit 3d4917fa88
2 changed files with 12 additions and 4 deletions

View File

@@ -159,7 +159,8 @@ fn run() -> Result<()> {
#[cfg(unix)]
{
if config.should_run(Step::Brew) {
runner.execute("brew", || unix::run_homebrew(&ctx))?;
runner.execute("Brew", || unix::run_brew(&ctx))?;
runner.execute("Brew Cask", || unix::run_brew_cask(&ctx))?;
}
#[cfg(target_os = "macos")]
{