Comments (11)
I think this first requires a way for brew to start a cask independently of brew bundle
from homebrew-bundle.
I think this first requires a way for brew to start a cask independently of
brew bundle
did you mean for such a feature to be supported from the cmd-line brew first, and only then from the Brewfile's DSL?
from homebrew-bundle.
Yeah, since the Brewfile DSL just runs brew functions under the hood.
from homebrew-bundle.
I see various references to Bundle.system
in this repo. I was thinking that would be the way to use the open
command on macos to start the application. Wouldn't that suffice?
from homebrew-bundle.
But how does one start a cask. How do you know what to start?
from homebrew-bundle.
But how does one start a cask. How do you know what to start?
open
command on macos like so: open /Applications/KeePassXC.app
from homebrew-bundle.
But a lot of casks are pkg files, or contain multiple apps. So that will create an experience where it's just a gamble if it'll work
from homebrew-bundle.
if that's the case, then my suggestion would be to let the user specify a system command to execute upon successful completion of the installation of each cask. That allows the flexibility to the user and they can choose to open 1 or more of those apps. Could we pivot to that?
from homebrew-bundle.
sorry, but I'm a 👎 on this feature request for a couple of reasons.
- you don't "start" a cask. you install a cask which then extracts all the nessecary parts into your system. what you're talking about here is more related to services and being able to launch them. if you want this, I'd suggest looking at the individual cask/formula and seeing if it can be included in there. this is something that is already supported.
- as @SMillerDev mentioned, a cask isn't always a single executable and expecting the user to know which they want to target is unreasonable. similarly, it's unreasonable for bundle to guess as getting the wrong information is worse than not doing it at all since you've then incorrectly taken the user down another path.
from homebrew-bundle.
I am likewise not in favor of this for the same reasons that Jacob is.
The at_exit
method in a Brewfile should adequately handle this for your particular use case. at_exit
runs just before the process exits for any reason as long as the process is still running. That is, it won't run if the process was killed. Within the bounds of the normal operation of brew bundle
, at_exit
should always run.
from homebrew-bundle.
Passing on this for now, sorry!
from homebrew-bundle.
Related Issues (20)
- brew bundle dump - Error: undefined method `bottle_disabled?' for... HOT 3
- `vagrant plugin install ...` HOT 2
- --cleanup: "Refusing to untap [tap] because it contains the following installed formulae or casks" HOT 4
- Feature Request: Global Dart Packages HOT 7
- Skip transitive dependencies during `brew bundle dump` HOT 3
- error while installing from file HOT 2
- Can the output of `brew bundle dump` be sorted consistently? HOT 3
- `brew bundle` is failing on missing key "osx-cross/arm/arm-none-eabi-binutils" HOT 20
- Brew bundle failing for some formulae `Error: wrong number of arguments (given 4, expected 3)` HOT 1
- Support exact versions for `vscode` plugins HOT 2
- 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
- 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
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.