-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
55 lines (51 loc) · 2.18 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
require 'rubygems'
# gem 'hoe', '>= 2.1.0'
# require 'hoe'
require 'fileutils'
require './lib/baby-bro'
# Hoe.plugin :newgem
# # Hoe.plugin :website
# # Hoe.plugin :cucumberfeatures
#
# # Generate all the Rake tasks
# # Run 'rake -T' to see list of generated tasks (from gem root directory)
# $hoe = Hoe.spec 'baby-bro' do
# self.developer 'Bill Doughty', '[email protected]'
# self.post_install_message = 'PostInstall.txt' # TODO remove post-install message not required
# self.rubyforge_name = self.name # TODO this is default value
# self.summary = %Q{File activity monitor for automatic time tracking.}
# self.description = %Q{Baby Bro monitors the timestamps changes for files in directories on your filesystem and records time spent actively working in those directories.}
# # self.extra_deps = [['activesupport','>= 2.0.2']]
#
# end
#
# require 'newgem/tasks'
# Dir['tasks/**/*.rake'].each { |t| load t }
#
# TODO - want other tests/tasks run by default? Add them to the list
# remove_task :default
# task :default => [:spec, :features]
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "baby-bro"
gem.summary = %Q{File activity monitor for time tracking.}
gem.description = %Q{Baby Bro monitors timestamp changes of files and and estimates time spent actively working in project directories.}
gem.email = "[email protected]"
gem.homepage = "http://github.com/capitalthought/baby-bro"
gem.authors = ["Bill Doughty"]
gem.add_development_dependency "rspec", ">= 1.3.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: gem install jeweler"
end
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "baby-bro #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end