-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathRakefile
35 lines (32 loc) · 1.08 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
require 'rubygems'
require 'rake'
require 'spec/rake/spectask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "dropbox"
open("VERSION") do |f|
gem.version = f.read
end
gem.summary = %Q{A Simple DropBox API in Ruby}
gem.description = %Q{A Simple DropBox API in Ruby}
gem.email = "tys@tvg.ca"
gem.homepage = "http://github.com/tvongaza/DropBox"
gem.authors = ["Tys von Gaza","JP Hastings-Spital","Chris Searle","Nicholas A. Evans"]
gem.add_development_dependency "Shoulda"
gem.add_dependency "mechanize",'>= 1.0.0'
gem.add_dependency "nokogiri", '>= 1.2.1'
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
desc "Run all examples"
Spec::Rake::SpecTask.new('examples') do |t|
t.spec_files = FileList['examples/**/*.rb']
t.libs << 'lib'
t.spec_opts = %w[-c -fs]
t.ruby_opts = %w[-rubygems]
end
task :default => :examples