jrun / rstack

kinda like hoe and newgem but more for private gems

This URL has Read+Write access

Jeremy Burks (author)
Sun May 03 07:43:20 -0700 2009
commit  fb50eee0a709096f1d9ddc272682cec97d47451c
tree    ca5c7425af59bd80ac95cfb10825574d86524bb7
parent  6815befc7c2d6b524f0308818c632dd01615733a
rstack /
name age message
file .gitignore Loading commit data...
file LICENSE.txt Wed Mar 05 20:16:00 -0800 2008 initial seed from google code project, not keep... [Jeremy Burks]
file README.textile Sat Apr 05 15:45:24 -0700 2008 updated readme [Jeremy Burks]
file Rakefile Sat May 02 15:50:48 -0700 2009 avoid the runtime dependency on the development... [Jeremy Burks]
directory bin/ Sat May 02 15:58:03 -0700 2009 a couple more places where the configuration ne... [Jeremy Burks]
directory lib/
file rstack.gemspec
directory spec/
directory templates/
directory vendor/ Sat Apr 05 08:46:41 -0700 2008 * removed activesupport from vendor and added i... [Jeremy Burks]
README.textile

Why?

newgem and hoe work great for open source projects. RStack is intended to be used behind the firewall. There are a couple of other differences. One being it uses RSpec rather than test/unit. The second difference is RStack automatically works with CruiseControl.rb. It does that by adding a cruise_config.rb configuration and by including a cruise task.

Usage


rstack ninjas

Generated Files and Directories


jrun ~/tmp $ rstack ninjas
creating ninjas/lib/ninjas
creating ninjas/spec/shared
creating ninjas/spec
creating ninjas/bin
creating ninjas/lib
creating ninjas/lib
moving Rakefile to ninjas/Rakefile
moving README.txt to ninjas/README.txt
moving cruise_config.rb to ninjas/cruise_config.rb
moving main.rb to ninjas/lib/ninjas.rb
moving version.rb to ninjas/lib/ninjas/version.rb
moving spec_helper.rb to ninjas/spec/spec_helper.rb

Generated Rakefile


require 'rubygems'
require 'rstack'
require File.join(File.dirname(__FILE__), 'lib', 'ninjas', 'version')

RStack::Configuration.new 'ninjas' do |config|
  config.summary = '[ENTER A SUMMARY]'
  config.author = 'jrun'
  config.email = '[ENTER YOUR EMAIL]'
  config.url = '[ENTER A PROJECT URL]'
  config.version = Ninjas::Version::STRING
end

Available Tasks

jrun ~/tmp/ninjas $ rake -T
(in /Users/jrun/tmp/ninjas)
rake clobber_package             # Remove package products
rake clobber_spec:with_coverage  # Remove rcov products for spec:with_coverage
rake gem                         # Build the gem file ninjas-0.1.0.gem
rake package                     # Build all the packages
rake repackage                   # Force a rebuild of the package files
rake spec                        # Run specs
rake spec:with_coverage          # Run specs through RCov and generate HTML...