Rakefile in licensed-2.0.1 vs Rakefile in licensed-2.1.0

- old
+ new

@@ -42,15 +42,11 @@ Rake::TestTask.new(source => "test:#{source}:env") do |t| t.description = "Run #{source} tests" t.libs << "test" t.libs << "lib" - - # use negative lookahead to exclude all source tests except - # the tests for `source` - t.test_files = FileList["test/**/*_test.rb"].exclude(/test\/sources\/(?!#{source}).*?_test.rb/, - "test/fixtures/**/*_test.rb") + t.test_files = FileList["test/commands/*_test.rb", "test/sources/#{source}_test.rb"] end end end Rake::TestTask.new(:test) do |t| @@ -59,9 +55,10 @@ t.test_files = FileList["test/**/*_test.rb"].exclude("test/fixtures/**/*_test.rb") end packages_search = File.expand_path("script/packages/*", __dir__) platforms = Dir[packages_search].map { |f| File.basename(f, ".*") } + .reject { |f| f == "build" } namespace :package do platforms.each do |platform| desc "Package licensed for #{platform}" task platform.to_sym do