Skip to content

Commit

Permalink
Fixes to bring Is::Tree up to date with changes that have occurred in…
Browse files Browse the repository at this point in the history
… the associations in core. Closes #249.
  • Loading branch information
pdlug authored and cypher committed May 13, 2008
1 parent ef93f5c commit 4af47b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dm-serializer/Rakefile
Expand Up @@ -25,13 +25,17 @@ end

task :default => [ :spec ]

windows = (PLATFORM =~ /win32|cygwin/) rescue nil

SUDO = windows ? "" : "sudo"

Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end

desc "Install #{spec.name} #{spec.version}"
task :install => [ :package ] do
sh "#{'sudo' unless ENV['SUDOLESS']} gem install pkg/#{spec.name}-#{spec.version}", :verbose => false
sh "#{SUDO unless ENV['SUDOLESS']} gem install pkg/#{spec.name}-#{spec.version} --no-update-sources", :verbose => false
end

desc 'Run specifications'
Expand Down

0 comments on commit 4af47b0

Please sign in to comment.