Skip to content
Newer
Older
100644 25 lines (19 sloc) 672 Bytes
93153ef @jamis Use echoe to manage the Rakefile
jamis authored
1 begin
2 require 'echoe'
3 rescue LoadError
4 abort "You'll need to have `echoe' installed to use capistrano-ext's Rakefile"
5 end
76e8aa2 @jamis Get everything ready for packaging
jamis authored
6
6b1ecc6 @jamis part 2, switchtower -> capistrano
jamis authored
7 require "./lib/capistrano/ext/version"
76e8aa2 @jamis Get everything ready for packaging
jamis authored
8
93153ef @jamis Use echoe to manage the Rakefile
jamis authored
9 version = Capistrano::Ext::Version::STRING.dup
10 if ENV['SNAPSHOT'].to_i == 1
11 version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
12 end
76e8aa2 @jamis Get everything ready for packaging
jamis authored
13
93153ef @jamis Use echoe to manage the Rakefile
jamis authored
14 Echoe.new('capistrano-ext', version) do |p|
15 p.changelog = "CHANGELOG.rdoc"
76e8aa2 @jamis Get everything ready for packaging
jamis authored
16
93153ef @jamis Use echoe to manage the Rakefile
jamis authored
17 p.author = "Jamis Buck"
18 p.email = "jamis@jamisbuck.org"
19 p.summary = "Useful task libraries and methods for Capistrano"
20 p.url = "http://www.capify.org"
76e8aa2 @jamis Get everything ready for packaging
jamis authored
21
93153ef @jamis Use echoe to manage the Rakefile
jamis authored
22 p.need_zip = true
23
24 p.dependencies = ["capistrano >=1.0.0"]
25 end
Something went wrong with that request. Please try again.