Sha256: 9960cd28c2d5747e2e6bc024a2ebd81e7a8e19a7d2b0ce0bbcb46e259520d5d4
Contents?: true
Size: 615 Bytes
Versions: 6
Compression:
Stored size: 615 Bytes
Contents
# require 'pathname' require 'fileutils' envname_default_task = 'BIORUBY_RAKE_DEFAULT_TASK' gem_dir = Pathname.new(File.join(File.dirname(__FILE__), '..')).realpath case t = ENV[envname_default_task] when 'gem-test' # do nothing else $stderr.print "#{$0}: skipped: ENV[#{envname_default_task}]=#{t.inspect}\n" exit(0) end # update bundler to avoid Bundler's bug fixed in the latest version $stderr.puts "gem update bundler" system("gem update bundler") $stderr.puts "cd #{gem_dir}" Dir.chdir(gem_dir) args = [ 'bioruby.gemspec', '.gemspec' ] $stderr.puts(['cp', *args].join(" ")) FileUtils.cp(*args)
Version data entries
6 entries across 6 versions & 1 rubygems