Sha256: 66ec08517a7b4229a09852e9968752a2de6fdaa7681138d1cb312f41cea25fec

Contents?: true

Size: 708 Bytes

Versions: 26

Compression:

Stored size: 708 Bytes

Contents

require 'middleman-core'

require 'rake/clean'

desc "Run tests, both RSpec and Cucumber"
task :test => [:spec]

require 'rspec/core/rake_task'
desc "Run RSpec"
RSpec::Core::RakeTask.new do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rspec_opts = ['--color']
end

begin
  require 'cane/rake_task'

  desc "Run cane to check quality metrics"
  Cane::RakeTask.new(:quality) do |cane|
    cane.no_style = true
    cane.no_doc = true
    cane.abc_glob = "lib/contentful_middleman/**/*.rb"
  end
rescue LoadError
  # warn "cane not available, quality task not provided."
end

desc "Build HTML documentation"
task :doc do
  sh 'bundle exec yard'
end

require 'rake'

require 'rubygems/tasks'
Gem::Tasks.new

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
contentful_middleman-4.2.0 Rakefile
contentful_middleman-4.1.0 Rakefile
contentful_middleman-3.0.1 Rakefile
contentful_middleman-4.0.1 Rakefile
contentful_middleman-4.0.0 Rakefile
contentful_middleman-3.0.0 Rakefile
contentful_middleman-2.1.3 Rakefile
contentful_middleman-2.1.2 Rakefile
contentful_middleman-2.1.1 Rakefile
contentful_middleman-2.1.0 Rakefile
contentful_middleman-2.0.1 Rakefile
contentful_middleman-2.0.0 Rakefile
contentful_middleman-1.5.0 Rakefile
contentful_middleman-1.4.2 Rakefile
contentful_middleman-1.4.1 Rakefile
contentful_middleman-1.4.0 Rakefile
contentful_middleman-1.3.2 Rakefile
contentful_middleman-1.3.1 Rakefile
contentful_middleman-1.2.0 Rakefile
contentful_middleman-1.1.1 Rakefile