Sha256: 76572817bac603239789365e56b9ad3d8201eae06af3b9730ab4dab966e8c665

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

task :release do
  cur = `git branch --show-current`.chomp
  if cur != 'master'
    puts 'Release only from master branch'
    exit(-1)
  end
end

require "bundler/gem_tasks"
require "rake/testtask"

Rake::TestTask.new(:test) do |t|
  t.libs << "test" << "test/lib"
  t.libs << "lib"
  t.test_files = FileList['test/**/test_*.rb']
end

task :default => [:test]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ostruct-0.3.3 Rakefile