-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathRakefile
33 lines (28 loc) · 1.05 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
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "jruby-memcache-client"
gemspec.summary = "A drop in replacement for Ruby's memcache-client."
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/ikai/jruby-memcache-client"
gemspec.description = "A drop in replacement for Ruby's memcache-client."
gemspec.authors = ["Abhi Yerra", "Ikai Lan", "Frederic Jean",
"Lennon Day-Reynolds","slyphon", "Brayn Helmkamp",
"Travis Tilley", "Sudhindra Rao"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
if RUBY_PLATFORM =~ /java/i
begin
require 'rspec/core/rake_task'
task :default => :spec
desc "Run the specs for the jruby-memcache-client gem"
RSpec::Core::RakeTask.new(:spec)
rescue LoadError
require 'pry'; binding.pry
puts "You must have rspec installed in order to run the tests."
end
else
puts "You must run rake under JRuby."
end