-
Notifications
You must be signed in to change notification settings - Fork 0
/
rakefile.rb
36 lines (30 loc) · 1.08 KB
/
rakefile.rb
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
$:.unshift File.expand_path('../lib', __FILE__)
require 'rake'
require 'rake/testtask'
require 'rdoc/task'
require 'dreamhost_personal_backup'
task :default => :test
desc 'Run all tests'
task :test => ["test:lib"]
namespace :test do
desc 'Run gem tests.'
Rake::TestTask.new(:lib) do |t|
t.libs << 'lib'
t.test_files = FileList['test/test*.rb'].exclude('test_helper.rb')
t.verbose = false
end
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "dreamhost-personal-backup"
gemspec.summary = "Provides functionality to perform personal backups (on Linux or OSX) to a Dreamhost personal backup server."
gemspec.description = "Provides functionality to perform personal backups (on Linux or OSX) to a Dreamhost personal backup server."
gemspec.email = "[email protected]"
gemspec.homepage = "https://github.com/ptrimble/dreamhost-personal-backup"
gemspec.version = DreamhostPersonalBackup::VERSION
gemspec.authors = ["Phil Trimble"]
end
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end