Sha256: df4a5dbbae80e7d15bf65516c907e48172568d7251be3373cbf62777b9d9c410

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rubygems/package_task'

gemspec = eval(File.read('structured-event-logger.gemspec'))
Gem::PackageTask.new(gemspec) do |pkg|
  pkg.gem_spec = gemspec
end

desc "Build the gem and release it to rubygems.org"
task :release => :gem do
  sh "gem push pkg/structured-event-logger-#{gemspec.version}.gem"
end

Rake::TestTask.new(:test) do |t|
  t.test_files = Dir.glob('test/**/*_test.rb')
  t.libs << 'test'
end

task :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
structured-event-logger-0.0.3 Rakefile