Sha256: 5e98c45216caaaded1723eb7fe02fe7b647b4ce5a3940440be3ac24b7f4c10ed

Contents?: true

Size: 1.03 KB

Versions: 8

Compression:

Stored size: 1.03 KB

Contents

#!/usr/bin/env rake

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

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

task 'gem:build' => 'webserver:fetch'

Version data entries

8 entries across 8 versions & 1 rubygems

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