-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
37 lines (29 loc) · 747 Bytes
/
Rakefile
File metadata and controls
37 lines (29 loc) · 747 Bytes
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
# -*- ruby -*-
# LeadTune API Ruby Gem
#
# http://github.com/leadtune/leadtune-ruby
# Eric Wollesen (mailto:devs@leadtune.com)
# Copyright 2010 LeadTune LLC
require 'bundler'
Bundler.setup
Bundler::GemHelper.install_tasks
require 'rake'
require 'yaml'
require 'rake/rdoctask'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
Rake::RDocTask.new(:rdoc) do |rd|
rd.options << "-t LeadTune API Ruby Gem"
rd.options << "--exclude=Gemfile"
rd.options << "--exclude=TAGS"
rd.options << "--exclude=Rakefile"
rd.options << "--exclude=spec/"
end
desc 'clobber generated files'
task :clobber => [:clobber_rdoc,] do
rm_rf "pkg"
rm_rf "tmp"
rm_rf "doc"
end
task :hudson => [:spec, :rdoc,]
task :default => [:spec,]# :cucumber,]