File: Rakefile

package info (click to toggle)
ruby-omniauth-oauth 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 152 kB
  • sloc: ruby: 210; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 288 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env rake
require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new

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

task :default => [:spec, :rubocop]