Sha256: c5ab396144ca3ec0e8b280da970364f8fcdca5f175efae470e88356570c2a912
Contents?: true
Size: 610 Bytes
Versions: 1
Compression:
Stored size: 610 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/lib" t.ruby_opts << "-rhelper" t.test_files = FileList["test/**/test_*.rb"] end task :sync_tool do require 'fileutils' FileUtils.cp "../ruby/tool/lib/test/unit/core_assertions.rb", "./test/lib" FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib" FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib" end task :default => [:test]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ostruct-0.4.0 | Rakefile |