-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
40 lines (32 loc) · 856 Bytes
/
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
34
35
36
37
38
39
40
require 'rubygems'
Gem::manage_gems
require 'rake/gempackagetask'
spec = Gem::Specification.new do |s|
s.name = "etchrec"
s.version = "0.1.0"
s.author = "Scott Taylor"
s.email = "scott@railsnewbie.com"
s.homepage = "http://rubyforge.org/projects/etchrec"
s.platform = Gem::Platform::RUBY
s.summary = "Rails Deployment Recipes for GNU/Debian Etch"
s.files = FileList["lib/**/*"].to_a
s.add_dependency 'deprec'
s.add_dependency 'capistrano'
s.has_rdoc = true
s.extra_rdoc_files = %w(README TODO DONE LICENSE)
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
end
task :generate_rdoc do
%x(rdoc)
end
task :clobber_rdoc do
%x(rm -rf doc)
end
task :build => [
:clobber_rdoc,
:clobber_package,
:generate_rdoc,
:repackage
]