Sha256: ea6434337d57639614935489c89f15a72b2d6482d1267982498a63c310633279

Contents?: true

Size: 565 Bytes

Versions: 3

Compression:

Stored size: 565 Bytes

Contents

require 'rake/clean'
require 'rake/testtask'

require_relative 'lib/wmq/version'

task :gem do
  system 'gem build rubywmq.gemspec'
end

task publish: :gem do
  system "git tag -a v#{WMQ::VERSION} -m 'Tagging #{WMQ::VERSION}'"
  system 'git push --tags'
  system "gem push rubywmq-#{WMQ::VERSION}.gem"
  system "rm rubywmq-#{WMQ::VERSION}.gem"
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

task default: :test

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
ferocia-rubywmq-2.1.1 Rakefile
rubywmq-2.1.1 Rakefile
rubywmq-2.1.0 Rakefile