forked from hsume2/cap-taffy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
35 lines (31 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
34
35
# Look in the tasks/setup.rb file for the various options that can be
# configured in this Rakefile. The .rake files in the tasks directory
# are where the options are used.
begin
require 'bones'
Bones.setup
rescue LoadError
begin
load 'tasks/setup.rb'
rescue LoadError
raise RuntimeError, '### please install the "bones" gem ###'
end
end
ensure_in_path 'lib'
require 'cap-taffy'
task :default => 'spec:run'
PROJ.name = 'cap-taffy'
PROJ.authors = 'Henry Hsu'
PROJ.email = '[email protected]'
PROJ.url = 'http://by.qlane.com'
PROJ.version = CapTaffy::VERSION
PROJ.rubyforge.name = 'cap-taffy'
PROJ.readme_file = "README.md"
PROJ.gem.dependencies = ['heroku', 'taps', 'capistrano']
PROJ.gem.development_dependencies << ["mocha"]
PROJ.description = "Capistrano recipes for deploying databases and other common tasks."
PROJ.summary = "Capistrano recipes for deploying databases (managing database.yml, importing/exporting/transfering databases, etc.)"
PROJ.ignore_file = '.gitignore'
PROJ.spec.opts << '--color'
PROJ.exclude << "bin"
PROJ.rcov.opts << IO.readlines("spec/rcov.opts").map {|l| l.chomp.split " "}.flatten