mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
309 B
20 lines
309 B
#!/usr/bin/env rake
|
|
|
|
require "bundler/gem_tasks"
|
|
require "rspec/core/rake_task"
|
|
|
|
RSpec::Core::RakeTask.new
|
|
|
|
task :test => :spec
|
|
|
|
begin
|
|
require "rubocop/rake_task"
|
|
RuboCop::RakeTask.new
|
|
rescue LoadError
|
|
task :rubocop do
|
|
$stderr.puts "RuboCop is disabled"
|
|
end
|
|
end
|
|
|
|
task :default => %i[spec rubocop]
|