Sha256: 818e58d8fcd0306781b496271cfd1bf56307a6da0c4ba6463cad2e6ed6125965

Contents?: true

Size: 650 Bytes

Versions: 6

Compression:

Stored size: 650 Bytes

Contents

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

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require 'rails_semantic_logger/version'

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

task :publish => :gem do
  system "git tag -a v#{RailsSemanticLogger::VERSION} -m 'Tagging #{RailsSemanticLogger::VERSION}'"
  system 'git push --tags'
  system "gem push rails_semantic_logger-#{RailsSemanticLogger::VERSION}.gem"
  system "rm rails_semantic_logger-#{RailsSemanticLogger::VERSION}.gem"
end

Rake::TestTask.new(:test) do |t|
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
  t.warning = false
end

task default: :test

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_semantic_logger-4.0.0 Rakefile
rails_semantic_logger-4.0.0.rc1 Rakefile
rails_semantic_logger-4.0.0.beta2 Rakefile
rails_semantic_logger-4.0.0.beta1 Rakefile
rails_semantic_logger-3.4.1 Rakefile
rails_semantic_logger-3.4.0 Rakefile