Sha256: 4e75cc99f6dfd3147e040cc35506ca3d4787a62573e59ee17b437f8bd59a8ddb

Contents?: true

Size: 840 Bytes

Versions: 2

Compression:

Stored size: 840 Bytes

Contents

# encoding: UTF-8
require 'rubygems'
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

require 'rake'
require 'rake/rdoctask'
require 'rake/testtask'

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

task :default => :test

Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Streamit'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

$:.unshift File.expand_path("../lib", __FILE__)
require "streamit/version"
 
task :build do
  system "gem build streamit.gemspec"
end
 
task :release => :build do
  system "gem push streamit-#{Streamit::VERSION}.gem"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
streamit-0.0.8 Rakefile
streamit-0.0.7 Rakefile