summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2005-10-29 16:09:17 +0000
committermurphy <murphy@rubychan.de>2005-10-29 16:09:17 +0000
commit39ff12b40e0b8b3a892aea63eddfae87531f5d10 (patch)
treec94d1a334bf3f11896af65abb1aeda4de9b1e000 /Rakefile
parent20cc0418476d2f27276fbf4cfe42fd884092befd (diff)
downloadcoderay-39ff12b40e0b8b3a892aea63eddfae87531f5d10.tar.gz
Version 0.4.6!
coderay.rb: Added highlight functions new demo/demo_highlight.rb encoders/helpers/html_output.rb: Improved stylesheet method Rakefile: smarter progress info on uploading
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 8698538..87278ed 100644
--- a/Rakefile
+++ b/Rakefile
@@ -176,7 +176,11 @@ def uploader_for ftp
proc do |l, *r|
r = r.first || l
raise 'File %s not found!' % l unless File.exist? l
- g 'Uploading %s to %s...' % [l, r]
+ if l == r
+ g 'Uploading %s...' % [l]
+ else
+ g 'Uploading %s to %s...' % [l, r]
+ end
ftp.putbinaryfile l, r
gd
end