-
Notifications
You must be signed in to change notification settings - Fork 6
/
Rakefile
33 lines (29 loc) · 1.01 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/pure_m_v_c_gen/version.rb'
PKG_NAME = "puremvc-gen"
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
version = PureMVCGen::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 = 'gjastrab' # if different than lowercase project name
p.developer('Greg Jastrab', '[email protected]')
p.name = PKG_NAME
p.version = PKG_VERSION
#p.platform = Gem::Platform::RUBY
p.author = "Greg Jastrab"
p.email = "[email protected]"
p.description = %q(An ANT-based PureMVC generator.)
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 << ["cmdparse", ">= 2.0.2"]
p.need_zip = true
p.need_tar = false
end
# vim: syntax=Ruby