Sha256: 66e269349438268ae95c4167810057279132176dc3e2271abec015ee88d916af

Contents?: true

Size: 712 Bytes

Versions: 1

Compression:

Stored size: 712 Bytes

Contents

#!/usr/bin/env ruby

# Show usage message and exit
def usage
  puts "Usage:
    #{__FILE__} [bump] Commit message goes here"
  exit 1
end

usage if ARGV.empty?

p ARGV
case ARGV.size
  when 1 then
    project = ARGV[0]
    system "bones create --github \"FIXME: Description for #{project}\" -s basic #{project}"
  when 2 then
    project = ARGV[0]
    descr = ARGV[1]
    system "bones create --github \"#{descr}\" -s basic #{project}"
  else
    puts "Usage: #{ARGV[0]} project_name \"description\""
    exit 1
end

system "jeweler --rspec --cucumber --create-repo --summary "Learning Win32" --description "Experiments with Ruby on Windows using Win32OLE, Win32API and friends" win_exp"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
my_scripts-0.0.3 bin/jew