TLDR bundle wrapper that allows you to run bundle commands without thinking you do
Inspired by github/srs/gw but for bundle commands
Runs the binary as if it was ran with bundle exec
if a Gemfile is detected in current directory (or any parent).
For instance, to run fastlane
one would do bundle exec fastlane ios test
, it is now possible to do bw fastlane ios test
.
This saves a few keystrokes, and with habit it becomes clear.
If you do not want to change what’s your used to type, you can alias it in your favorite shell fastlane=bw fastlane
and it will run either bundle version (if a Gemfile is found) or globally installed one otherwise.
If you make a symlink to bw
binary by appending an additional character (w
recommended), it will automatically
wrap that command in the same way.
For instance, if you make a symbolic link named fastlanew
to bw
, running fastlanew
will automatically
initiate bw
logic for fastlane
binary.
Github actions build the binary for linux / macOS. Needs to adjust a few moving pieces for Windows.
You can get latest version here
The MIT License (MIT) Copyright © 2021 Cedric Gatay | Code-Troopers
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.