Comments (4)
Good catch. This is a limitation in the tap cleanup logic.
homebrew-bundle/lib/bundle/commands/cleanup.rb
Lines 137 to 142 in f3389cc
current_formulae
. For now, though, the obvious workaround is to add that tap to your Brewfile
as brew bundle dump
will just unconditionally dump all of those anyway (and that's what we expect to have as the input to brew bundle cleanup
rather than hand-crafted Brewfile
s)from homebrew-bundle.
In this case, is it correct that dart should be installed at all after the initial build? My first instinct is that since it's not listed in the Brewfile, it should be removed when passed --cleanup. It's weird that dart isn't removed, but also isn't directly installed by the Brewfile (in the case where sass is already installed but dart isn't).
I'm definitely using brew in a way that isn't intended. (Writeup of my workflow.) I've worked around this issue by installing sass through npm -g
, but would like to help get brew bundle
working more properly, since I use it often.
Edit: Is there a way to list build-dependencies that are currently installed? Build dependencies are handled differently from normal dependencies and I don't really understand how they interact with everything else.
from homebrew-bundle.
In this case, is it correct that dart should be installed at all after the initial build? My first instinct is that since it's not listed in the Brewfile, it should be removed when passed --cleanup.
It's a dependency so it should not be removed. --cleanup
doesn't remove dependencies.
Writeup of my workflow.
The reason I ended up with this workflow is that Brew doesn’t remember what packages I’ve installed, vs. have been installed as a dependency of another package.
This is not actually correct, FYI.
Is there a way to list build-dependencies that are currently installed?
brew deps
with various flags can do this.
Build dependencies are handled differently from normal dependencies and I don't really understand how they interact with everything else.
They are handled less differently when building from source, like you are here.
from homebrew-bundle.
Thanks for answering my questions.
from homebrew-bundle.
Related Issues (20)
- Homebrew Bundle always starts services HOT 4
- With HOMEBREW_CASK_OPTS="--require-sha", brew bundle exits 0 even if installation is not successful HOT 6
- Feature Requests: Automatically Run `brew bundle dump` After `brew install` HOT 2
- Add SetApp support HOT 2
- VSCode extensions that have capital letters seem to not be registered, and get uninstalled HOT 2
- Feature request: Auto-start a cask after installation HOT 11
- Filtering installed software by a set of groups HOT 2
- Specify Package Installed from Source HOT 2
- Maintaining Ruby 2.6 compatibility HOT 4
- Qs on merging Brewfiles. HOT 2
- [Feature] Support groups HOT 1
- Error: cannot load such file -- abstract_command HOT 2
- Collection of potential new Installers/Checkers/Dumpers HOT 12
- npm & pip installers HOT 16
- Vscode : Case sensitive issue is back HOT 6
- [Question] Can formula and cask have the same name? HOT 4
- brew bundle dump spawns many ruby processes HOT 12
- Unattended install of a bundle HOT 4
- how to install only on specified macOS version or arch of OS HOT 1
- brew bundle [install] --cleanup removes dependencies when reading from stdin HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-bundle.