Sha256: 1300d70a80a2c2f09952af9b910ede83fc679389ab9f9595a3f43378484e4489
Contents?: true
Size: 855 Bytes
Versions: 3
Compression:
Stored size: 855 Bytes
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) 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 # print "Note: if rake gives an error try running biogem from an installed gem instead\n" 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bio-gem-1.3.2 | bin/biogem |
bio-gem-1.3.1 | bin/biogem |
bio-gem-1.3.0 | bin/biogem |