mirror of
https://github.com/cmur2/openvpn-status-web.git
synced 2026-11-16 06:55:55 +01:00
gem: add rubocop and fix style
This commit is contained in:
1 parent
d959e7fe62
commit
140c60c753
11 files changed
+175
-67
No files matched your search
@@ -1,8 +1,10 @@
|
||||
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.)'
|
||||
@@ -15,6 +17,6 @@ task :'solargraph:tc' do
|
||||
sh 'solargraph typecheck'
|
||||
end
|
||||
|
||||
task :default => [:spec, 'bundle:audit']
|
||||
task default: [:rubocop, :spec, 'bundle:audit']
|
||||
|
||||
task travis: [:default, :'solargraph:tc']
|
||||
Reference in new issue
Block a user