Coder Social home page Coder Social logo

Comments (4)

MikeMcQuaid avatar MikeMcQuaid commented on August 16, 2024

It does:

if check_result.work_to_be_done
puts FAILURE_MESSAGE
check_result.errors.each { |package| puts "#{ARROW} #{package}" } if output_errors
puts "Satisfy missing dependencies with `brew bundle install`."
exit 1
else
puts "The Brewfile's dependencies are satisfied."
end

from homebrew-bundle.

5ouma avatar 5ouma commented on August 16, 2024

Yes, I found the code, but when I run echo $?, it outputs 0.

from homebrew-bundle.

colindean avatar colindean commented on August 16, 2024

Can you share how you're invoking brew bundle check?

Working for me, and on a machine I don't use for development regularly:

[18:54:00 colin@penguin /tmp ]
$ echo 'brew "adr-tools"' > Brewfile
[18:54:18 colin@penguin /tmp ]
$ brew bundle check
brew bundle can't satisfy your Brewfile's dependencies.
Satisfy missing dependencies with `brew bundle install`.
[18:54:32 colin@penguin /tmp ]
$ echo $?
1

from homebrew-bundle.

5ouma avatar 5ouma commented on August 16, 2024

I found out why mine doesn't output 1.
The reason is I wrap brew with a function.
I'm sorry for the confusion.

from homebrew-bundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.