Sha256: fbe62d06be272ff617579d473ac8acb714cbb11adf8f7e478c515d3c82ce7fc1

Contents?: true

Size: 499 Bytes

Versions: 5

Compression:

Stored size: 499 Bytes

Contents

# frozen_string_literal: true
require 'bundler/gem_tasks'
require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.libs << 'lib'
  t.test_files = FileList['test/**/test_*.rb']
end

begin
  require 'rubocop/rake_task'
  RuboCop::RakeTask.new
  namespace :rubocop do
    desc 'Install Rubocop as pre-commit hook'
    task :install do
      require 'rubocop_runner'
      RubocopRunner.install
    end
  end
rescue LoadError
  p 'rubocop not installed'
end

task default: :test

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
receptacle-0.3.1 Rakefile
receptacle-0.3.0 Rakefile
receptacle-0.2.0 Rakefile
receptacle-0.1.1 Rakefile
receptacle-0.1.0 Rakefile