Sha256: 125f29aff52c2dc723736c52c1b4b2361d61567761978c8a78b07aff9e9d6493

Contents?: true

Size: 421 Bytes

Versions: 5

Compression:

Stored size: 421 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

begin
  require 'rubocop/rake_task'
  Rubocop::RakeTask.new
rescue LoadError
  desc 'Run RuboCop'
  task :rubocop do
    $stderr.puts 'Rubocop is disabled'
  end
end

Dir.glob('tasks/*.rake').each { |r| import r }

task :release => 'completion:zsh'
task :test => :spec
task :default => [:spec, :rubocop]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
t-2.3.0 Rakefile
t-2.2.1 Rakefile
t-2.2.0 Rakefile
t-2.1.0 Rakefile
t-2.0.2 Rakefile