Sha256: 80388cd48217b981ee487b06ccdd8a7137b586507d0854de3063b1f888009b9a

Contents?: true

Size: 580 Bytes

Versions: 2

Compression:

Stored size: 580 Bytes

Contents

# -*- ruby -*-

require 'rubygems'
require 'bundler/setup'
require 'rjack-tarpit'

RJack::TarPit.new( 'rjack-jdbc-postgres' ).define_tasks

%w[ 4 41 ].each do |v|
  jar = "postgresql-#{RJack::JDBCPostgres::DRIVER_VERSION}.jdbc#{v}.jar"
  file "lib/rjack-jdbc-postgres/#{jar}" do |t|
    sh "curl -sf -o #{t.name} https://jdbc.postgresql.org/download/#{jar}"
  end
end

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/jdbc-postgres/
  SH
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rjack-jdbc-postgres-9.4.1202.0 Rakefile
rjack-jdbc-postgres-9.4.1200.0 Rakefile