-
Notifications
You must be signed in to change notification settings - Fork 39
/
Rakefile
41 lines (32 loc) · 990 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
41
# 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'
rescue LoadError
abort '### Please install the "bones" gem ###'
end
ensure_in_path 'lib'
require 'em-redis'
task :default => ['redis:test']
Bones {
name 'em-redis'
authors ['Jonathan Broad', 'Eugene Pimenov']
email 'libc@me.com'
url 'http://github.com/libc/em-redis'
summary 'An eventmachine-based implementation of the Redis protocol'
description summary
version EMRedis::VERSION
readme_file 'README.rdoc'
ignore_file '.gitignore'
depend_on 'eventmachine', '>=0.12.10'
depend_on "bacon", :development => true
depend_on "em-spec", :development => true
}
namespace :redis do
desc "Test em-redis against a live Redis"
task :test do
sh "bacon spec/live_redis_protocol_spec.rb spec/redis_commands_spec.rb spec/redis_protocol_spec.rb"
end
end
# EOF