Sha256: 8d91c809e1beb7aa2c33f87e01ac2f4ce98d38c6cc9d79aac6fd7cda831694a5

Contents?: true

Size: 969 Bytes

Versions: 7

Compression:

Stored size: 969 Bytes

Contents

#!/usr/bin/env rake

require 'fedux_org_stdlib/rake_tasks/gems'
require 'fedux_org_stdlib/rake_tasks/software_version/bump'

desc 'Run test suite'
task test: ['test:rspec', 'test:rubocop', 'test:cucumber']

namespace :coveralls do
  task :push do
    sh 'bundle exec coveralls push'
  end
end

namespace :test do
  desc 'Test with coveralls'
  task coveralls: ['test', 'coveralls:push']

  task :rubocop do
    sh 'bundle exec rubocop'
  end

  task 'rubocop:autocorrect' do
    sh 'bundle exec rubocop --auto-correct'
  end

  desc 'Run rspec'
  task :rspec do
    sh 'bundle exec rspec'
  end

  desc 'Run cucumber'
  task :cucumber do
    sh 'bundle exec cucumber -p all'
  end

  desc 'Run mutant'
  task :mutant do
    sh 'mutant --include lib --require middleman-presentation --use rspec "Middleman::Presentation*"'
  end
end

namespace :gem do
  desc 'Clean build packages'
  task :clean do
    FileUtils.rm Dir.glob(File.join(pkg_directory, '*.gem'))
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
middleman-presentation-helpers-0.17.7 Rakefile
middleman-presentation-helpers-0.17.6 Rakefile
middleman-presentation-helpers-0.17.2 Rakefile
middleman-presentation-helpers-0.17.1 Rakefile
middleman-presentation-helpers-0.17.0 Rakefile
middleman-presentation-helpers-0.16.3 Rakefile
middleman-presentation-helpers-0.16.2 Rakefile