Sha256: eebf815bceb52f3aa9ce6f068725ade1ce7214b7c7fec7724fbd7a52b8ccc75d

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 Bytes

Contents

require "bundler/gem_tasks"
require 'rake/testtask'

namespace :test do
  Rake::TestTask.new :lib do |t|
    t.test_files = Dir['test/**/*_test.rb']
  end

  task :smoke do
    require 'bundler/setup'
    require 'logger/better'

    logger = Logger.new $stdout
    logger.level = :info
    logger.info 'hello'

    require 'logger/no_timestamp'

    logger = Logger.new $stdout
    logger.level = :info
    logger.info 'hello'
  end

  task ci: [ :lib, :smoke ]
end

task test: 'test:ci'

task default: :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logger-better-0.2.2 Rakefile