Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
Rakefile 418 B
Newer Older
begin
  if Gem::Specification::find_by_name('puppet-lint')
    require 'puppet-lint/tasks/puppet-lint'
    PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "vendor/**/*.pp"]
    PuppetLint.configuration.send('disable_140chars')
    PuppetLint.configuration.send('disable_80chars')
    task :default => [:rspec, :lint]
  end
rescue Gem::LoadError
  task :default => :rspec