1
0
mirror of https://github.com/cmur2/openvpn-status-web.git synced 2025-06-29 00:30:24 +02:00

gem: add solargraph support

This commit is contained in:
cn
2020-03-01 22:05:43 +01:00
parent 23dd4aa63f
commit 4cde78fe96
5 changed files with 33 additions and 0 deletions

View File

@ -5,4 +5,16 @@ require 'bundler/audit/task'
RSpec::Core::RakeTask.new(:spec)
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 => [:spec, 'bundle:audit']
task travis: [:default, :'solargraph:tc']