Sha256: 4d29831260acc6a450c237946d749d71403b11dfb2c9c504386792bf5f17d591

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

require "bundler/gem_tasks"

LIB_FILES = FileList.new('lib/**/*.rb').exclude('lib/chemistry/version.rb')
TEST_FILES = LIB_FILES.pathmap('%{^lib,test}d/test_%f')

task :test do
  TEST_FILES.zip(LIB_FILES).each do |test_file, lib_file|
    ruby "-I lib -I . -I test -r #{lib_file} #{test_file}"
  end
end

task :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chemistry-0.0.2 Rakefile