Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Commit

Permalink
(MAINT) Group gem dependencies
Browse files Browse the repository at this point in the history
Allows us to speed up calls to bundler by specifying groups to operate on.
  • Loading branch information
nwolfe committed Oct 11, 2019
1 parent 4687099 commit e4da541
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
source "https://rubygems.org"

gem 'rspec'
gem 'rspec_junit_formatter'
gem 'pupperware',
:git => 'https://github.com/puppetlabs/pupperware.git',
:branch => 'master',
:glob => 'gem/*.gemspec'

group :test do
gem 'rspec'
gem 'rspec_junit_formatter'
end
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ifeq ($(IS_LATEST),true)
endif

test: prep
@bundle install --path $$BUNDLE_PATH --gemfile $$GEMFILE
@bundle install --path $$BUNDLE_PATH --gemfile $$GEMFILE --with test
@bundle update
@PUPPET_TEST_DOCKER_IMAGE=$(NAMESPACE)/puppetdb:$(version) \
bundle exec --gemfile $$GEMFILE rspec spec
Expand Down

0 comments on commit e4da541

Please sign in to comment.