File: Rakefile

package info (click to toggle)
ruby-recaptcha 4.11.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 380 kB
  • sloc: ruby: 863; makefile: 3
file content (19 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

require "bundler/setup"
require "bundler/gem_tasks"
require "rake/testtask"
require "bump/tasks"

task default: [:test, :rubocop]

Rake::TestTask.new do |t|
  t.test_files = FileList['test/*_test.rb']
end

desc "rubocop"
task :rubocop do
  sh "rubocop"
end

task default: [:test, :rubocop]