Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (27 sloc) 1014 Bytes
# -*- ruby -*-
require 'rubygems'
require 'hoe'
require './lib/story-helper.rb'
require './lib/story-helper/version'
PKG_NAME = "story-helper"
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
version = StoryHelper::Version::STRING.dup
if ENV['SNAPSHOT'].to_i == 1
version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
end
PKG_VERSION = version
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
Hoe.new(PKG_NAME, PKG_VERSION) do |p|
p.rubyforge_name = 'johntrupiano' # if different than lowercase project name
p.developer('John Trupiano', 'jtrupiano@gmail.com')
p.name = PKG_NAME
p.version = PKG_VERSION
#p.platform = Gem::Platform::RUBY
p.description = %q(A set of helpers/features to aid in implementing the StoryHelper concept in rails apps)
p.summary = p.description # More details later??
p.remote_rdoc_dir = PKG_NAME # Release to /PKG_NAME
# p.changes = p.paragraphs_of('CHANGELOG', 0..1).join("\n\n")
p.need_zip = true
p.need_tar = false
end
# vim: syntax=Ruby
Something went wrong with that request. Please try again.