jrun / rstack

kinda like hoe and newgem but more for private gems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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...

About

kinda like hoe and newgem but more for private gems

License:MIT License


Languages

Language:Ruby 100.0%