Sha256: f45c8e120469a90675e256b9ada55a0f8fa0d05eec194bf01f57cd88276d1448
Contents?: true
Size: 1.32 KB
Versions: 2
Compression:
Stored size: 1.32 KB
Contents
#!/usr/bin/env ruby $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib') require 'jeweler/generator' require 'bundler' require 'bundler/cli' require 'fileutils' require 'bio-gem' require 'rake' orig_argv = ARGV.clone # application_exit[:exit] exists, application_exit[:options] it depends. exit Bio::Gem::Generator::Application.run!(*ARGV) #run ## bundle install ## rake version:write ## rake gemspec # application_exit = Bio::Gem::Generator::Application.run!(*ARGV) # options = application_exit[:options] # if (application_exit[:exit]==0) # pwd = FileUtils.pwd # FileUtils.cd "bioruby-#{application_exit[:options][:project_name]}" # ARGV.clear << "install" # Bundler::CLI.start # #TODO: call rake directly not from shell # if options[:testing_framework] == :rspec # # Don't remove the following warning, as it may be encountered by anyone running # # biogem from source (especially with the --with-rspec switch)! # print " # WARNING: if rake gives an (rspec) error try running biogem from a directly # installed gem instead: # bundle exec rake install # biogem [options] # " # end # print "\trake version:write\n" # sh "rake version:write" # print "\trake gemspec\n" # sh "rake gemspec" # print "Done!\n" # else # $stderr.print "\nERROR: Biogem failed!\n" # end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bio-gem-1.3.6 | bin/biogem |
bio-gem-1.3.5 | bin/biogem |