# -*- ruby -*- require 'rubygems' require 'bundler/setup' require 'rjack-tarpit' RJack::TarPit.new( 'rjack-jackson' ).define_tasks desc "Upload RDOC to Amazon S3 (rdoc.gravitext.com/rjack, Oregon)" task :publish_rdoc => [ :clean, :rerdoc ] do sh <<-SH aws s3 sync --acl public-read doc/ s3://rjack.gravitext.com/jackson/ SH end