Rakefile in travis-1.0.1 vs Rakefile in travis-1.0.2

- old
+ new

@@ -1,10 +1,11 @@ # encoding: utf-8 $LOAD_PATH.unshift File.expand_path('../lib', __FILE__) +windows = RUBY_PLATFORM =~ /mswin|mingw/ desc "run specs" -task(:spec) { ruby '-S rspec spec -c' } +task(:spec) { ruby "-S rspec spec#{" -c" unless windows}" } desc "generate gemspec" task 'travis.gemspec' do require 'travis/version' content = File.read('travis.gemspec') @@ -32,7 +33,8 @@ File.open('travis.gemspec', 'w') { |f| f << content } end task :gemspec => 'travis.gemspec' -task :default => [:spec, :gemspec] +task :default => :spec +task :default => :gemspec unless windows task :test => :spec \ No newline at end of file