Sha256: aab3e8a09d40f61966c463b5b041f30dfe1c32e44d09a3f85d3ac7cd9f2cba9a

Contents?: true

Size: 483 Bytes

Versions: 5

Compression:

Stored size: 483 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

$stderr.puts "cd #{gem_dir}"
Dir.chdir(gem_dir)

args = [ 'bioruby.gemspec', '.gemspec' ]

$stderr.puts(['cp', *args].join(" "))
FileUtils.cp(*args)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bio-1.5.2 gemfiles/prepare-gemspec.rb
bio-1.5.1 gemfiles/prepare-gemspec.rb
bio-1.5.0 gemfiles/prepare-gemspec.rb
bio-1.4.3.0001 gemfiles/prepare-gemspec.rb
bio-1.4.3 gemfiles/prepare-gemspec.rb