Sha256: 9053dbb52ddcc914278187a1b32f24a76104f79c81694d84ce9f52f06abe5220

Contents?: true

Size: 573 Bytes

Versions: 1

Compression:

Stored size: 573 Bytes

Contents

require 'bundler/gem_tasks'

require 'rake/testtask'
require 'rake/clean'

desc 'Run test_unit based test'
Rake::TestTask.new(:test) do |t|
  # To run test for only one file (or file path pattern)
  #  $ bundle exec rake base_test TEST=test/test_specified_path.rb
  #  $ bundle exec rake base_test TEST=test/test_*.rb
  t.libs << "test"
  t.test_files = Dir["test/**/test_*.rb"].sort
  t.verbose = true
  #t.warning = true
end

desc 'Run test with simplecov'
task :coverage do |t|
  ENV['SIMPLE_COV'] = '1'
  Rake::Task["test"].invoke
end

task :default => [:test, :build]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-newsyslog-0.1.2 Rakefile