Skip to content

Commit

Permalink
Add Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfication committed Jan 8, 2024
1 parent 7f46431 commit db2f108
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spec_i18n/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source 'http://rubygems.org'

gemspec path: '../'
gemspec path: '../', name: 'ruby-enum'

# This Gemfile should not include any gem that has i18n as a dependency.
gem 'rake'
Expand Down
15 changes: 15 additions & 0 deletions spec_i18n/Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# frozen_string_literal: true

require 'rubygems'
require 'bundler/gem_tasks'

Bundler.setup :default, :development

require 'rspec/core'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end

task default: %i[spec]

0 comments on commit db2f108

Please sign in to comment.