Sha256: 484a698819da97404d6bca6ac66465ec71e6e560586bc1d3311a0e0015b62f7e

Contents?: true

Size: 514 Bytes

Versions: 1

Compression:

Stored size: 514 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 :require 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, :require ]
end

task test: 'test:ci'

task default: :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logger-better-0.2.1 Rakefile