Sha256: c4bfc209407e8860883b3c4af7982a043bb4e59aa4131c04f751291628dfd6c2

Contents?: true

Size: 608 Bytes

Versions: 5

Compression:

Stored size: 608 Bytes

Contents

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

require_relative 'lib/io_streams/version'

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

task :publish => :gem do
  system "git tag -a v#{IOStreams::VERSION} -m 'Tagging #{IOStreams::VERSION}'"
  system 'git push --tags'
  system "gem push iostreams-#{IOStreams::VERSION}.gem"
  system "rm iostreams-#{IOStreams::VERSION}.gem"
end

desc 'Run Test Suite'
task :test do
  Rake::TestTask.new(:functional) do |t|
    t.test_files = FileList['test/**/*_test.rb']
    t.verbose    = true
  end

  Rake::Task['functional'].invoke
end

task :default => :test

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
iostreams-0.9.1 Rakefile
iostreams-0.9.0 Rakefile
iostreams-0.8.2 Rakefile
iostreams-0.8.1 Rakefile
iostreams-0.8.0 Rakefile