Sha256: ce77d9e433f0039bc7409d38e6ce37b55f2707cecbac32a9eb5e8baebe4c2c0e

Contents?: true

Size: 1.02 KB

Versions: 18

Compression:

Stored size: 1.02 KB

Contents

require 'rubygems'
require 'pathname'
require 'bundler'
require 'rubygems/package_task'
Bundler::GemHelper.install_tasks

require 'rake'
require 'rake/clean'

ROOT = Pathname(__FILE__).dirname.expand_path

require ROOT + 'lib/do_sqlite3/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 = '3071700'

CLEAN.include(%w[ {tmp,pkg}/ **/*.{o,so,bundle,jar,log,a,gem,dSYM,obj,pdb,exp,DS_Store,rbc,db} ext/do_sqlite3/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_sqlite3-#{DataObjects::Sqlite3::VERSION}-java.gem"
  end
end

FileList['tasks/**/*.rake'].each { |task| import task }

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
do_sqlite3-0.10.17 Rakefile
do_sqlite3-0.10.17-x86-mswin32-60 Rakefile
do_sqlite3-0.10.17-x86-mingw32 Rakefile
do_sqlite3-0.10.17-java Rakefile
do_sqlite3-0.10.16 Rakefile
do_sqlite3-0.10.16-x86-mswin32-60 Rakefile
do_sqlite3-0.10.16-x86-mingw32 Rakefile
do_sqlite3-0.10.16-java Rakefile
do_sqlite3-0.10.15 Rakefile
do_sqlite3-0.10.15-x86-mswin32-60 Rakefile
do_sqlite3-0.10.15-x86-mingw32 Rakefile
do_sqlite3-0.10.15-java Rakefile
do_sqlite3-0.10.14 Rakefile
do_sqlite3-0.10.14-x86-mswin32-60 Rakefile
do_sqlite3-0.10.14-x86-mingw32 Rakefile
do_sqlite3-0.10.14-java Rakefile
do_sqlite3-0.10.13-x86-mswin32-60 Rakefile
do_sqlite3-0.10.13-x86-mingw32 Rakefile