Sha256: 065cfac400fe07b0407dfd59e24e9a673e9808e49557ec22d7fc3fa69bded768

Contents?: true

Size: 633 Bytes

Versions: 11

Compression:

Stored size: 633 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
  sh "rake version:write"
  sh "rake gemspec"
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bio-gem-1.2.1 bin/biogem
bio-gem-1.2.0 bin/biogem
bio-gem-1.1.2 bin/biogem
bio-gem-1.1.1 bin/biogem
bio-gem-1.1.0 bin/biogem
bio-gem-1.0.0 bin/biogem
bio-gem-0.3.2 bin/biogem
bio-gem-0.3.1 bin/biogem
bio-gem-0.3.0 bin/biogem
bio-gem-0.2.2 bin/biogem
bio-gem-0.2.1 bin/biogem