Sha256: 8cda7e289ce644950f5618589280a9099c853e240cc29364ce06c7e0e102db1a

Contents?: true

Size: 780 Bytes

Versions: 17

Compression:

Stored size: 780 Bytes

Contents

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

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
begin
  require 'rdoc/task'
rescue LoadError
  require 'rdoc/rdoc'
  require 'rake/rdoctask'
  RDoc::Task = Rake::RDocTask
end

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Switchman'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('lib/**/*.rb')
end

APP_RAKEFILE = File.expand_path('spec/dummy/Rakefile', __dir__)
load 'rails/tasks/engine.rake'

Bundler::GemHelper.install_tasks

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

require 'rubocop/rake_task'

RuboCop::RakeTask.new do |task|
  task.options = ['-S']
end

task default: %i[spec]

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
switchman-3.4.2 Rakefile
switchman-3.4.1 Rakefile
switchman-3.4.0 Rakefile
switchman-3.3.7 Rakefile
switchman-3.3.6 Rakefile
switchman-3.3.5 Rakefile
switchman-3.3.4 Rakefile
switchman-3.3.3 Rakefile
switchman-3.3.2 Rakefile
switchman-3.3.1 Rakefile
switchman-3.3.0 Rakefile
switchman-3.2.1 Rakefile
switchman-3.2.0 Rakefile
switchman-3.1.3 Rakefile
switchman-3.1.2 Rakefile
switchman-3.1.1 Rakefile
switchman-3.1.0 Rakefile