forked from djhworld/kindlemail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
33 lines (31 loc) · 1.15 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
require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'
require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "kindlemail"
gem.homepage = "http://github.com/djhworld/kindlemail"
gem.license = "MIT"
gem.summary = %Q{Push documents to your kindle via the personal document service}
gem.description = %Q{Sends documents to a designated kindle address painlessly and via the CLI. No need to fumble around with clumsy attachment boxes so forth, just whack in the documents you want to send and hit enter}
gem.email = "[email protected]"
gem.authors = ["Daniel Harper"]
gem.add_dependency "gmail-mailer", "= 0.4.5"
gem.add_dependency "trollop", "~> 1.16.2"
end
Jeweler::RubygemsDotOrgTasks.new
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
task :default => :test