-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
38 lines (33 loc) · 1.03 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
require 'rubygems'
gem('hoe', '>= 2.1.0')
require 'hoe'
require 'fileutils'
Proc.new {
libdir = File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
$:.unshift(libdir) unless ($:.include?(libdir))
}.call
require 'instantcache'
Hoe.plugin(:newgem)
Hoe.plugin(:website)
# Hoe.plugin :cucumberfeatures
# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
$hoe = Hoe.spec('instantcache') {
self.developer('Ken Coar',
self.readme_file = 'README.txt'
#
# TODO this is default value
#
self.rubyforge_name = self.name
self.version = InstantCache::VERSION
self.extra_deps = [
['versionomy','>= 0.4.0'],
['memcache-client','>= 1.8.5'],
]
}
require 'newgem/tasks'
Dir['tasks/**/*.rake'].each { |t| load t }
# TODO - want other tests/tasks run by default? Add them to the list
# remove_task :default
# task :default => [:spec, :features]