Sha256: 03d7430be15c121e02058c9a13400d6059b25660a798c6ab90538265b7d85c6c
Contents?: true
Size: 668 Bytes
Versions: 1
Compression:
Stored size: 668 Bytes
Contents
module MyScripts # This script uses Jeweler to create new project skeleton, local git repo and # initiate remote repo on github # class Jew < Script def run usage "project_name Summary or description goes here" if @argv.empty? # First Arg should be project name name = @argv.shift # All the other args lumped into summary, or default summary summary = @argv.empty? ? "New project #{name}" : @argv.join(' ') puts "Creating Jeweler project #{name} with summary/description: #{summary}" system %Q[jeweler --rspec --cucumber --create-repo --summary "#{summary}" --description "#{summary}" #{name}] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
my_scripts-0.1.3 | lib/my_scripts/scripts/jew.rb |