bin/bundle-both (#2100)

Convenience for bundling both OSS and SaaS in lock-step:
```bash
> bin/bundle-both install

▸ OSS: Gemfile
bundle install
Bundle complete! 45 Gemfile dependencies, 161 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.

▸ SaaS: Gemfile.saas
bundle install
Bundle complete! 63 Gemfile dependencies, 187 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
```
This commit is contained in:
Jeremy Daer
2025-12-11 20:26:06 -08:00
committed by GitHub
parent 78fc80cf35
commit 2e17b78e08
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
echo
gum style --foreground 135 --bold "▸ OSS: Gemfile"
gum style --foreground 240 "bundle $*"
BUNDLE_GEMFILE=Gemfile bundle "$@"
echo
gum style --foreground 135 --bold "▸ SaaS: Gemfile.saas"
gum style --foreground 240 "bundle $*"
BUNDLE_GEMFILE=Gemfile.saas bundle "$@"