Sha256: 6f7419c32b7eec6fbd4a372dd7d8b50ed21a362df16e493bfc1acb1e6e408d8b

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

raise "jruby-hornetq must be built with JRuby: try again with `jruby -S rake'" unless defined?(JRUBY_VERSION)

require 'rake/clean'
require 'rake/testtask'
require 'date'
require 'java'

desc "Build gem"
task :gem  do |t|
  gemspec = Gem::Specification.new do |s|
    s.name = 'jruby-hornetq'
    s.version = '0.3.0.alpha'
    s.authors = ['Reid Morrison', 'Brad Pardee']
    s.email = ['rubywmq@gmail.com', 'bpardee@gmail.com']
    s.homepage = 'https://github.com/ClarityServices/jruby-hornetq'
    s.date = Date.today.to_s
    s.description = 'JRuby-HornetQ is a Java and Ruby library that exposes the HornetQ Java API in a ruby friendly way. For JRuby only.'
    s.summary = 'JRuby interface into HornetQ'
    s.files = FileList["./**/*"].exclude('*.gem', './nbproject/*').map{|f| f.sub(/^\.\//, '')}
    s.has_rdoc = true
    s.executables = %w(hornetq_server)
    s.add_dependency "gene_pool", "~> 1.1.1"
  end
  Gem::Builder.new(gemspec).build
end

desc "Run Test Suite"
task :test do
  Rake::TestTask.new(:functional) do |t|
    t.test_files = FileList['test/*_test.rb']
    t.verbose    = true
  end

  Rake::Task['functional'].invoke
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jruby-hornetq-0.3.0.alpha Rakefile