Exclude path pathed-gem-fixture from deletion

This commit is contained in:
Josef Andersson 2019-01-09 13:54:47 +01:00
Родитель 3bd9522d90
Коммит c0c6098acb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -14,7 +14,7 @@ cd $BASE_PATH/test/fixtures/bundler
unset BUNDLE_GEMFILE
if [ "$1" == "-f" ]; then
find . -not -regex "\.*" -and -not -name "Gemfile" -print0 | xargs -0 rm -rf
find . -not -regex "\.*" -and -not -name "Gemfile" -and -not \( -path ./pathed-gem-fixture -prune \) -print0 | xargs -0 rm -rf
fi
bundle install --path vendor/gems --without ignore