Sha256: 655f1eec64366a8682ff7038093f5a3bcc7bc99d6545e37cf90c3e31ccd226be

Contents?: true

Size: 557 Bytes

Versions: 1

Compression:

Stored size: 557 Bytes

Contents

#!/usr/bin/env ruby

# Show usage message and exit
def usage
  puts "Usage: #{__FILE__} project_name Summary or description goes here"
  exit 1
end

usage if ARGV.empty?

# First Arg should be project name
project = ARGV.shift

# All the other args lumped into summary, or default summary
summary = ARGV.empty? ? "New project #{project}" : ARGV.join(' ')

puts "Creating Jeweler project #{project} with summary: #{summary}"

system %Q["jeweler --rspec --cucumber --create-repo --summary "#{summary}" --description "#{summary}" #{project}"]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
my_scripts-0.0.4 bin/jew