Merge "Install rake lint when no Gemfile is found"
This commit is contained in:
commit
91d4458b0a
@ -328,14 +328,17 @@
|
||||
cd "$MODULE"
|
||||
fi
|
||||
fi
|
||||
if [ -f Gemfile ]; then
|
||||
mkdir .bundled_gems
|
||||
export GEM_HOME=`pwd`/.bundled_gems
|
||||
if [ -f Gemfile ]; then
|
||||
gem install bundler --no-rdoc --no-ri --verbose
|
||||
$GEM_HOME/bin/bundle install --without system_tests
|
||||
$GEM_HOME/bin/bundle exec rake lint 2>&1
|
||||
else
|
||||
rake lint 2>&1
|
||||
gem install rake -n ./.bundled_gems/
|
||||
gem install puppet-lint
|
||||
gem install puppetlabs_spec_helper
|
||||
./.bundled_gems/rake lint 2>&1
|
||||
fi
|
||||
|
||||
- builder:
|
||||
|
Loading…
Reference in New Issue
Block a user