Bo Anderson
650f62bcba
Fold brew bundle services
into exec
2025-03-28 05:54:58 +00:00
Bo Anderson
c7e8b66da3
bundle: add --services
flag for sh and exec
2025-03-28 05:54:57 +00:00
Patrick Linnane
9821a7e896
fix new offenses
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-03-27 03:38:09 +00:00
Mike McQuaid
4c97a795a9
brew bundle env
: sort and filter output.
...
- Sort output by key so it's more readable.
- Skip exporting empty values because shell scripts treat them as unset.
- Skip exporting non-Homebrew things that were already set in the old
environment to avoid massive duplication and higher chances of e.g.
bad escapes breaking things.
2025-03-25 13:47:44 +00:00
Mike McQuaid
fcd9b340a8
brew bundle env
: quote values correctly.
...
Otherwise, certain output will break the script when `eval`ed.
2025-03-25 11:55:52 +00:00
Mike McQuaid
df0fe8a802
Add version_file:
DSL to Brewfile
...
This allows writing to e.g. `.ruby-version` files directly from the
`Brewfile`, making it easy to keep these versions in sync.
2025-03-24 17:34:35 +00:00
Carlo Cabrera
f7ee1902e4
bundle: require
more lazily
...
This will hopefully make using `brew bundle` a little bit snappier.
2025-03-24 22:48:58 +08:00
Bo Anderson
7e64051479
bundle: remove include Kernel
references
2025-03-21 04:43:08 +00:00
Carlo Cabrera
a4f2797612
bundle/exec: fix command PATH
lookup
...
We are checking `PATH` for the command too early, since the code below
it mutates `PATH`.
Let's defer the check to later to fix this.
2025-03-19 21:55:15 +08:00
Mike McQuaid
bdeca530ff
Migrate Homebrew/bundle to Homebrew/brew
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2025-03-19 06:47:01 +00:00