Sha256: 399621bedc8442d28180825b1780540e6718a1fbf60cbf900238edc333899868

Contents?: true

Size: 637 Bytes

Versions: 2

Compression:

Stored size: 637 Bytes

Contents

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

require_relative 'lib/data_cleansing/version'

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

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

2 entries across 2 versions & 1 rubygems

Version Path
data_cleansing-0.9.0 Rakefile
data_cleansing-0.8.0 Rakefile