HELLO v3!!!
This commit is contained in:
24
Rakefile
Normal file
24
Rakefile
Normal file
@@ -0,0 +1,24 @@
|
||||
# rubocop:disable all
|
||||
|
||||
require 'bundler/gem_tasks'
|
||||
|
||||
exec = []
|
||||
|
||||
begin
|
||||
require 'rubocop/rake_task'
|
||||
RuboCop::RakeTask.new
|
||||
exec << :rubocop
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
begin
|
||||
require 'rspec/core/rake_task'
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
exec << :spec
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
# Run rubocop & rspec before the build (only if installed)
|
||||
task build: exec
|
||||
|
||||
# rubocop:enable all
|
||||
Reference in New Issue
Block a user