Sha256: faa4c1cfa2f1210391dbe0263579fb2e95b17e4e4caf9e00ee3314bc1ae97094

Contents?: true

Size: 603 Bytes

Versions: 7

Compression:

Stored size: 603 Bytes

Contents

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

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
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

7 entries across 7 versions & 1 rubygems

Version Path
semantic_logger-4.2.0 Rakefile
semantic_logger-4.1.1 Rakefile
semantic_logger-4.1.0 Rakefile
semantic_logger-4.0.0 Rakefile
semantic_logger-4.0.0.rc1 Rakefile
semantic_logger-4.0.0.beta2 Rakefile
semantic_logger-4.0.0.beta1 Rakefile