Skip to content

Commit

Permalink
Fix rake
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermef committed Jan 28, 2022
1 parent cde949f commit 0477ea8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 22 deletions.
12 changes: 11 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# frozen_string_literal: true

Dir.glob('tasks/*.rake').each { |r| import r }
require 'rspec/core/rake_task'

begin
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

Bundler::GemHelper.install_tasks

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

task default: :spec
17 changes: 0 additions & 17 deletions tasks/build.rake

This file was deleted.

4 changes: 0 additions & 4 deletions tasks/rspec.rake

This file was deleted.

0 comments on commit 0477ea8

Please sign in to comment.