-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
49 lines (37 loc) · 1.44 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
require "rake"
require "rake/testtask"
require "rake/rdoctask"
require "jeweler"
desc "Default: run tests."
task :default => [:test]
desc "Test the plugin."
Rake::TestTask.new(:test) do |t|
t.libs << "lib"
t.pattern = "test/**/*_test.rb"
t.verbose = true
end
desc "Generate documentation for the plugin."
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = "rdoc"
rdoc.title = "kenny_dialoggins"
rdoc.options << "--line-numbers --inline-source"
rdoc.rdoc_files.include("README")
rdoc.rdoc_files.include("lib/**/*.rb")
end
begin
Jeweler::Tasks.new do |gemspec|
gemspec.authors = ["Coroutine", "Tim Lowrimore", "John Dugan"]
gemspec.description = "Kenny Dialoggins allows you to include scriptaculous dialogs in Rails applications using the same syntax employed for rendering partials."
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/coroutine/kenny_dialoggins"
gemspec.name = "kenny_dialoggins"
gemspec.summary = "Dead simple, beautiful dialogs for Rails."
gemspec.add_dependency("actionpack", ">=2.3.4")
gemspec.add_development_dependency("activesupport", ">=2.3.4")
gemspec.files.include("generators/**/*", "lib/**/*")
gemspec.files.include("test/**/*")
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end