Skip to content

Commit

Permalink
Merge pull request #4 from matthewstyler/rake-tasks
Browse files Browse the repository at this point in the history
Rake tasks
  • Loading branch information
matthewstyler authored Aug 5, 2023
2 parents ecd24b6 + 5c72dc4 commit 0f31912
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,16 @@ Minitest::TestTask.create(:test) do |t|
t.warning = false
t.test_globs = ['test/**/*_test.rb']
end

task :irb do
exec 'irb -I lib -r ./lib/**/*'
end

task :lint do
exec 'rubocop -A'
end

task :test_and_lint do
Rake::Task['test'].invoke
Rake::Task['lint'].invoke
end

0 comments on commit 0f31912

Please sign in to comment.