Skip to content

Commit

Permalink
add each-gemfile script
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Sep 16, 2013
1 parent 2b98cae commit de050bf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions script/each-gemfile
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -e

if [ -z "$1" ]; then
echo "Usage: script/each-bundle COMMAND [<ARGS>]" >&2
exit 1
fi

for gemfile in $(ls Gemfile* | grep -v lock); do
BUNDLE_GEMFILE=$gemfile "$@"
done

0 comments on commit de050bf

Please sign in to comment.