-
Notifications
You must be signed in to change notification settings - Fork 2
/
Rakefile
33 lines (29 loc) · 1.11 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*- ruby -*-
require 'rubygems'
require 'hoe'
require './lib/passenger-recipes.rb'
require "./lib/passenger-recipes/version"
PKG_NAME = "passenger-recipes"
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
version = PassengerRecipes::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.author = "John Trupiano"
p.email = "jtrupiano@gmail.com"
p.description = %q(An opinionated set of capistrano recipes built on top of capistrano-extensions tailored for Phusion Passenger)
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.extra_deps << ["capistrano-extensions", ">= 0.1.4"]
p.need_zip = true
p.need_tar = false
end
# vim: syntax=Ruby