diff options
author | murphy <murphy@rubychan.de> | 2010-03-31 22:17:06 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-03-31 22:17:06 +0000 |
commit | 862bc9aa6b002f6b29cf74f93ca66e63cf370819 (patch) | |
tree | 45e8a8731fadca8df5fe86595dc2e8f6dc7a3782 /rake_tasks/example.rake | |
parent | cce5dad0dce285a2b7c4f1fe0ec79d10c71a8403 (diff) | |
download | coderay-862bc9aa6b002f6b29cf74f93ca66e63cf370819.tar.gz |
Upporting changes from 0.9.2 (vs. 0.9.1).
Diffstat (limited to 'rake_tasks/example.rake')
-rw-r--r-- | rake_tasks/example.rake | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/rake_tasks/example.rake b/rake_tasks/example.rake deleted file mode 100644 index dfd594a..0000000 --- a/rake_tasks/example.rake +++ /dev/null @@ -1,25 +0,0 @@ -namespace :example do
-
- desc 'Generate an example output'
- task :make do
- system "#{RUBY} -wIlib ../hidden/highlight.rb -1 -L -I lib lib/coderay/**/"
- end
-
- desc 'Upload example to ' + FTP_DOMAIN
- task :upload => :make do
- gn 'Highlighting self...'
- gd
- gn 'Uploading example:'
- cYcnus_ftp do |ftp|
- ftp.chdir FTP_CODERAY_DIR
- uploader = proc do |l, r|
- g 'Uploading %s to %s...' % [l, r]
- ftp.putbinaryfile l, r
- gd
- end
- uploader.call 'highlighted/all_in_one.html', 'example.html'
- end
- gn 'Example uploaded.'
- end
-
-end
|