Sha256: 99a7bf6c80409a93d79047a510739847584b0459fe73ec98bac689dd7731ed1f
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 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. 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.4 | bin/biogem |
bio-gem-1.3.3 | bin/biogem |