Sha256: 2718748eb2fe670c0492f1a415b9dc005769b596cbad424ffe8b5710bd70633b
Contents?: true
Size: 681 Bytes
Versions: 6
Compression:
Stored size: 681 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 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/description: #{summary}" system %Q[jeweler --rspec --cucumber --create-repo --summary "#{summary}" --description "#{summary}" #{project}] end end end
Version data entries
6 entries across 6 versions & 1 rubygems