Skip to content

Commit

Permalink
edit rakefile for gem publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ikramagix committed Sep 27, 2024
1 parent c44d2af commit 6ab1148
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"

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

require "rubocop/rake_task"
# Define the RSpec task for running tests
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = 'spec/**/*_spec.rb'
end

RuboCop::RakeTask.new

# Default task to run specs and RuboCop
task default: %i[spec rubocop]

0 comments on commit 6ab1148

Please sign in to comment.