dyndnsd/Rakefile

25 lines
584 B
Ruby
Raw Normal View History

2020-03-06 21:33:29 +01:00
# frozen_string_literal: true
2013-04-27 14:07:14 +02:00
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
2018-02-23 11:13:28 +01:00
require 'rubocop/rake_task'
require 'bundler/audit/task'
2013-04-27 14:07:14 +02:00
RSpec::Core::RakeTask.new(:spec)
2018-02-23 11:13:28 +01:00
RuboCop::RakeTask.new
Bundler::Audit::Task.new
2013-04-27 14:07:14 +02:00
2020-02-28 15:13:28 +01:00
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']
2020-02-28 15:13:28 +01:00
task travis: [:default, :'solargraph:tc']