Sha256: c62abeff475ca03198e67c2120e0b674cfe8c03e0630003100fd52a7c0b44530
Contents?: true
Size: 1018 Bytes
Versions: 4
Compression:
Stored size: 1018 Bytes
Contents
require 'pathname' require 'rubygems' require 'bundler' Bundler::GemHelper.install_tasks require 'rake' require 'rake/clean' ROOT = Pathname(__FILE__).dirname.expand_path require ROOT + 'lib/do_postgres/version' JRUBY = RUBY_PLATFORM =~ /java/ IRONRUBY = defined?(RUBY_ENGINE) && RUBY_ENGINE == 'ironruby' WINDOWS = Gem.win_platform? || (JRUBY && ENV_JAVA['os.name'] =~ /windows/i) SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS']) BINARY_VERSION = '8.3.15' CLEAN.include(%w[ {tmp,pkg}/ **/*.{o,so,bundle,jar,log,a,gem,dSYM,obj,pdb,exp,DS_Store,rbc,db} ext/do_postgres/Makefile ext-java/target ]) if JRUBY Rake::Task['build'].clear_actions if Rake::Task.task_defined?('build') Rake::Task['install'].clear_actions if Rake::Task.task_defined?('install') task :build => [ :java, :gem ] task :install do sh "#{Config::CONFIG['RUBY_INSTALL_NAME']} -S gem install pkg/do_postgres-#{DataObjects::Postgres::VERSION}-java.gem" end end FileList['tasks/**/*.rake'].each { |task| import task }
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
do_postgres-0.10.6 | Rakefile |
do_postgres-0.10.6-x86-mswin32-60 | Rakefile |
do_postgres-0.10.6-x86-mingw32 | Rakefile |
do_postgres-0.10.6-java | Rakefile |