Sha256: 1f51339856975b2f3e25af9b0a313a6a593b072779c2d7deb7afb2847ed4b9b5

Contents?: true

Size: 476 Bytes

Versions: 48

Compression:

Stored size: 476 Bytes

Contents

desc 'Builds all gems (native, binaries for JRuby and Windows)'
task :build_all do
  `rake clean`
  `rake build`
  `rake java gem`
  `rake cross native gem RUBY_CC_VERSION=1.8.7:1.9.2`
end

desc 'Release all gems (native, binaries for JRuby and Windows)'
task :release_all => :build_all do
  Dir["pkg/do_postgres-#{DataObjects::Postgres::VERSION}*.gem"].each do |gem_path|
    command = "gem push #{gem_path}"
    puts "Executing #{command.inspect}:"
    sh command
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
do_postgres-0.10.4.rc1 tasks/release.rake
do_postgres-0.10.4.rc1-x86-mswin32-60 tasks/release.rake
do_postgres-0.10.4.rc1-x86-mingw32 tasks/release.rake
do_postgres-0.10.4.rc1-java tasks/release.rake
do_postgres-0.10.3 tasks/release.rake
do_postgres-0.10.3-x86-mswin32-60 tasks/release.rake
do_postgres-0.10.3-x86-mingw32 tasks/release.rake
do_postgres-0.10.3-java tasks/release.rake