Sha256: 8557ae999df7ca23f42bdf535ef0cfe6aa6e819a37ea761fae8f39938cd256cd

Contents?: true

Size: 495 Bytes

Versions: 1

Compression:

Stored size: 495 Bytes

Contents

#!/usr/bin/env ruby
require 'yaml'

name = ARGV.shift
# bundler_options are currently not used, maybe later
#conf_file = "#{ENV['HOME']}/.gem_polish.yml"
#conf = File.exists?(conf_file) ?
  #YAML.load(File.read(conf_file))['bundler_options'].to_s : {}

# hardcoding rspec as testframework
conf = '-t rspec'

b_command = "bundle gem #{name} #{conf}"
p_command = "polish_gem #{name} #{ARGV.join(' ')}"
g_command = "cd #{name} && git add -A"

exec([b_command, p_command, g_command].join (' && '))

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gem_polish-0.0.1 bin/create_gem