mirror of
https://github.com/cmur2/dyndnsd.git
synced 2024-11-17 04:56:14 +01:00
23 lines
553 B
Ruby
23 lines
553 B
Ruby
require 'bundler/gem_tasks'
|
|
require 'rspec/core/rake_task'
|
|
require 'rubocop/rake_task'
|
|
require 'bundler/audit/task'
|
|
|
|
RSpec::Core::RakeTask.new(:spec)
|
|
RuboCop::RakeTask.new
|
|
Bundler::Audit::Task.new
|
|
|
|
desc 'Should be run by developer once to prepare initial solargraph usage (fill caches etc.)'
|
|
task :'solargraph:init' do
|
|
sh 'solargraph download-core'
|
|
end
|
|
|
|
desc 'Run experimental solargraph type checker'
|
|
task :'solargraph:tc' do
|
|
sh 'solargraph typecheck'
|
|
end
|
|
|
|
task default: [:rubocop, :spec, 'bundle:audit']
|
|
|
|
task travis: [:default, :'solargraph:tc']
|