Sha256: 4102c72aa49188582c8184cd745b661e4362a47f711f359d520cea4df0f24af5

Contents?: true

Size: 494 Bytes

Versions: 4

Compression:

Stored size: 494 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_mysql-#{DataObjects::Mysql::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_mysql-0.10.17 tasks/release.rake
do_mysql-0.10.17-x86-mswin32-60 tasks/release.rake
do_mysql-0.10.17-x86-mingw32 tasks/release.rake
do_mysql-0.10.17-java tasks/release.rake