Sha256: 5af6c9f0a11a1b1708a8855534b53ae4065aefbaff502b5175cacd77ef3207ee

Contents?: true

Size: 599 Bytes

Versions: 9

Compression:

Stored size: 599 Bytes

Contents

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

$LOAD_PATH.unshift File.expand_path('lib', __dir__)
require 'semantic_logger/version'

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

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

9 entries across 9 versions & 1 rubygems

Version Path
semantic_logger-4.6.1 Rakefile
semantic_logger-4.6.0 Rakefile
semantic_logger-4.6.0.beta1 Rakefile
semantic_logger-4.5.0 Rakefile
semantic_logger-4.4.0 Rakefile
semantic_logger-4.3.1 Rakefile
semantic_logger-4.3.0 Rakefile
semantic_logger-4.2.2 Rakefile
semantic_logger-4.2.1 Rakefile