Rakefile.drake in drake-0.8.2.1.0.4 vs Rakefile.drake in drake-0.8.2.1.0.5
- old
+ new
@@ -44,9 +44,12 @@
rm_rf("html")
rm_rf("pkg")
unless `git status` =~ %r!nothing to commit \(working directory clean\)!
raise "Directory not clean"
end
+ unless `ping -c2 github.com` =~ %r!0% packet loss!i
+ raise "No ping for github.com"
+ end
end
task :drake_publish => :rdoc do
Dir.chdir("html") {
sh(*%w(scp -r . quix@rubyforge.org:/var/www/gforge-projects/drake))