Skip to content

Commit

Permalink
Fix 'rake test:unit' for Windows.
Browse files Browse the repository at this point in the history
Windows uses ";" instead of ":" for path separation.
We don't need to care about this difference, when using two "-I"

This fixes commit f15b942 .
  • Loading branch information
larskanis committed Nov 22, 2015
1 parent bc809ab commit fb41837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -4,7 +4,7 @@ require 'bundler/gem_tasks'
namespace :test do
desc "Test MiniPortile by running unit tests"
task :unit do
sh "ruby -w -W2 -I.:lib -e \"#{Dir["test/test_*.rb"].map{|f| "require '#{f}';"}.join}\" -- -v"
sh "ruby -w -W2 -I. -Ilib -e \"#{Dir["test/test_*.rb"].map{|f| "require '#{f}';"}.join}\" -- -v"
end

desc "Test MiniPortile by compiling examples"
Expand Down

0 comments on commit fb41837

Please sign in to comment.