Sha256: ea3b0ba4ebe26051ad660a6f9a9a7731c04be2f78f6e4fe42a624b84f3bc524a

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

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

CLOBBER.include('pkg')

directory 'pkg'

desc 'Build distributable packages'
task :build => [:pkg] do
  system 'gem build json-stream.gemspec && mv json-*.gem pkg/'
end

Rake::TestTask.new(:test) do |test|
  test.libs << 'spec'
  test.pattern = 'spec/**/*_spec.rb'
  test.warning = true
end

task :default => [:clobber, :test, :build]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
json-stream-1.0.0 Rakefile
json-stream-0.2.2 Rakefile
json-stream-0.2.1 Rakefile
json-stream-0.2.0 Rakefile