Sha256: 80c6e7c698465392e30f67ddf4536fa3969db09276b17094530f89faeb6706e3

Contents?: true

Size: 720 Bytes

Versions: 18

Compression:

Stored size: 720 Bytes

Contents

#!/usr/bin/env rake
# frozen_string_literal: true

namespace :gem do
  require 'bundler/gem_tasks'
end

# require 'bundler'
# Bundler.require :default, :test, :development

task default: :test

desc 'Run test suite'
task test: %w(test:rubocop test:rspec test:cucumber)

require 'coveralls/rake/task'
Coveralls::RakeTask.new

desc 'Test with coveralls'
task coveralls: %w(test coveralls:push)

namespace :test do
  task :rubocop do
    sh 'rubocop'
  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
end

desc 'Remove files in tmp'
task :clobber do
  rm_rf Dir.glob(File.expand_path('../tmp/*', __FILE__))
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
proxy_rb-0.10.5 Rakefile
proxy_rb-0.10.4 Rakefile
proxy_rb-0.10.3 Rakefile
proxy_rb-0.10.2 Rakefile
proxy_rb-0.10.1 Rakefile
proxy_rb-0.10.0 Rakefile
proxy_rb-0.9.3 Rakefile
proxy_rb-0.9.2 Rakefile
proxy_rb-0.9.1 Rakefile
proxy_rb-0.9.0 Rakefile
proxy_rb-0.8.3 Rakefile
proxy_rb-0.8.2 Rakefile
proxy_rb-0.8.1 Rakefile
proxy_rb-0.8.0 Rakefile
proxy_rb-0.7.1 Rakefile
proxy_rb-0.7.0 Rakefile
proxy_rb-0.6.0 Rakefile
proxy_rb-0.5.0 Rakefile