Sha256: 082751e4ede3c03511f295fa6be3cf81c740f6d7c87afc3316e37f0144033a3f

Contents?: true

Size: 500 Bytes

Versions: 4

Compression:

Stored size: 500 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.3:2.0.0:2.1.8:2.2.4:2.3.0`
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

4 entries across 4 versions & 1 rubygems

Version Path
do_postgres-0.10.17 tasks/release.rake
do_postgres-0.10.17-x86-mswin32-60 tasks/release.rake
do_postgres-0.10.17-x86-mingw32 tasks/release.rake
do_postgres-0.10.17-java tasks/release.rake