Sha256: 30c644a3f9ec1f05a2b9bc64130591c70e9e34d28d4242a9748d8ea63c118869

Contents?: true

Size: 527 Bytes

Versions: 7

Compression:

Stored size: 527 Bytes

Contents

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

ENV["BUNDLE_GEMFILE"] = File.expand_path("gemfiles/all.gemfile") if ENV["BUNDLE_GEMFILE"] == File.expand_path("Gemfile") || ENV["BUNDLE_GEMFILE"].empty? || ENV["BUNDLE_GEMFILE"].nil?

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  file_list = ENV["BUNDLE_GEMFILE"] == File.expand_path("gemfiles/all.gemfile") ? FileList["test/**/*_test.rb"] : FileList["test/dependencies/test_dependencies.rb"]
  t.test_files = file_list
end

task :default => :test

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alba-1.6.0 Rakefile
alba-1.5.0 Rakefile
alba-1.4.0 Rakefile
alba-1.3.0 Rakefile
alba-1.2.0 Rakefile
alba-1.1.0 Rakefile
alba-1.0.1 Rakefile