mirror of
https://github.com/cmur2/openvpn-status-web.git
synced 2026-02-01 17:01:43 +01:00
Updates the requirements on [solargraph](https://github.com/castwide/solargraph) to permit the latest version. - [Changelog](https://github.com/castwide/solargraph/blob/master/CHANGELOG.md) - [Commits](https://github.com/castwide/solargraph/compare/v0.50.0...v0.58.2) --- updated-dependencies: - dependency-name: solargraph dependency-version: 0.58.2 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
26 lines
578 B
Ruby
26 lines
578 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'bundler/gem_tasks'
|
|
require 'rspec/core/rake_task'
|
|
require 'rubocop/rake_task'
|
|
|
|
RSpec::Core::RakeTask.new(:spec)
|
|
RuboCop::RakeTask.new
|
|
|
|
desc 'Run experimental solargraph type checker'
|
|
task :solargraph do
|
|
sh 'solargraph typecheck'
|
|
end
|
|
|
|
namespace :bundle do
|
|
desc 'Check for vulnerabilities with bundler-audit'
|
|
task :audit do
|
|
sh 'bundler-audit check --ignore GHSA-vvfq-8hwr-qm4m' if !RUBY_VERSION.start_with?('3.0')
|
|
end
|
|
end
|
|
|
|
task default: [:rubocop, :spec, 'bundle:audit']
|
|
|
|
desc 'Run all tasks desired for CI'
|
|
task ci: [:default]
|