Skip to content

Commit 6e837d0

Browse files
committed
Make Vox Rake tasks conditional
1 parent 29b38d1 commit 6e837d0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.sync.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,5 @@ Rakefile:
6565
extra_disabled_lint_checks:
6666
- puppet_url_without_modules
6767
requires:
68-
- voxpupuli/acceptance/rake
68+
- require: voxpupuli/acceptance/rake
69+
conditional: Gem.loaded_specs.key? 'voxpupuli-acceptance'

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require 'puppetlabs_spec_helper/rake_tasks'
66
require 'puppet-syntax/tasks/puppet-syntax'
77
require 'github_changelog_generator/task' if Gem.loaded_specs.key? 'github_changelog_generator'
88
require 'puppet-strings/tasks' if Gem.loaded_specs.key? 'puppet-strings'
9-
require 'voxpupuli/acceptance/rake'
9+
require 'voxpupuli/acceptance/rake' if Gem.loaded_specs.key? 'voxpupuli-acceptance'
1010

1111
def changelog_user
1212
return unless Rake.application.top_level_tasks.include? "changelog"

0 commit comments

Comments
 (0)