-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
39 lines (33 loc) · 935 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
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "landslider"
gem.summary = "Landslide Ruby"
gem.description = "Landslider is a ruby interface to the Landslide SOAP-based API"
gem.license = "MIT"
gem.email = "jay@j4y.net"
gem.homepage = "https://github.com/j4y/landslider"
gem.authors = ['Jay Prall']
# dependencies listed in Gemfile
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts 'Jeweler not available. Please install the jeweler gem'
end
# Load any rake files that exist
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |f| load f }
task :default => [:test]
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/*_test.rb'
test.verbose = false
end
begin
require 'yard'
YARD::Rake::YardocTask.new
rescue LoadError
puts 'Yard not available. Please install the yard gem'
end