Sha256: 51e7d25a348f146c01189fb95a61a87e23ff23fc0aee3d36f4b4567556557703

Contents?: true

Size: 706 Bytes

Versions: 5

Compression:

Stored size: 706 Bytes

Contents

require 'pathname'
require 'bundler'
Bundler::GemHelper.install_tasks

require 'rake'
require 'rake/clean'

ROOT = Pathname(__FILE__).dirname.expand_path

require ROOT + 'lib/do_sqlserver/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'])

CLEAN.include(%w[ {tmp,pkg}/ **/*.{o,so,bundle,jar,log,a,gem,dSYM,obj,pdb,exp,DS_Store,rbc,db} ext-java/target ])


Rake::Task['build'].clear_actions if Rake::Task.task_defined?('build')
task :build => [ :java, :gem ]

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
do_sqlserver-0.10.6-java Rakefile
do_sqlserver-0.10.5-java Rakefile
do_sqlserver-0.10.4-java Rakefile
do_sqlserver-0.10.4.rc2-java Rakefile
do_sqlserver-0.10.4.rc1-java Rakefile