Skip to content

Commit

Permalink
[ci] preparations
Browse files Browse the repository at this point in the history
  • Loading branch information
0exp committed Mar 29, 2024
1 parent d53c900 commit 97a0dc8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: 0exp
Empty file added .github/workflows/build.yml
Empty file.
19 changes: 14 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,20 @@

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

require 'rubocop'
require 'rubocop/rake_task'
require 'rubocop-performance'
require 'rubocop-rspec'
require 'rubocop-rake'

RuboCop::RakeTask.new(:rubocop) do |t|
config_path = File.expand_path(File.join('.rubocop.yml'), __dir__)
t.options = ['--config', config_path]
t.requires << 'rubocop-rspec'
t.requires << 'rubocop-performance'
t.requires << 'rubocop-rake'
end

RuboCop::RakeTask.new
RSpec::Core::RakeTask.new(:rspec)

task default: %i[spec rubocop]
task default: :rspec

0 comments on commit 97a0dc8

Please sign in to comment.