Sha256: 02e1c47631fa5ae42e7ca408be571938ef8f4a7ef168aeb14c1820edf71bb142

Contents?: true

Size: 465 Bytes

Versions: 7

Compression:

Stored size: 465 Bytes

Contents

#!/usr/bin/env rake
require 'rake/testtask'
require 'foodcritic'

Rake::TestTask.new do |t|
  t.test_files = FileList['test/unit/**/*_spec.rb']
  t.verbose = true
end

FoodCritic::Rake::LintTask.new do |t|
  t.options = { :tags => ['~FC048'], :fail_tags => ['any'] }
end

begin
  require 'kitchen/rake_tasks'
  Kitchen::RakeTasks.new
rescue LoadError
  puts ">>>>> Kitchen gem not loaded, omitting tasks" unless ENV['CI']
end

task :default => [:foodcritic, :test]

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
from-scratch-0.7.0 cookbooks/user/Rakefile
from-scratch-0.6.0 cookbooks/user/Rakefile
from-scratch-0.5.0 cookbooks/user/Rakefile
from-scratch-0.3.0 cookbooks/user/Rakefile
from-scratch-0.2.0 cookbooks/user/Rakefile
from-scratch-0.1.1 cookbooks/user/Rakefile
from-scratch-0.1.0 cookbooks/user/Rakefile