File: Rakefile

package info (click to toggle)
ruby-exception-notification 5.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 364 kB
  • sloc: ruby: 1,350; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 454 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# frozen_string_literal: true

require "rubygems"
require "bundler/setup"
require "irb"
Bundler::GemHelper.install_tasks

require "rake/testtask"

task default: [:test]

Rake::TestTask.new(:test) do |t|
  t.libs << "lib"
  t.libs << "test"
  t.pattern = "test/**/*_test.rb"
  t.warning = false
end

desc "Start a console with the gem"
task :console do
  ARGV.clear
  puts "ExceptionNotification #{ExceptionNotification::VERSION} loaded."
  IRB.start
end