forked from joshnesbitt/lockfile
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
29 lines (26 loc) · 895 Bytes
/
Copy pathRakefile
File metadata and controls
29 lines (26 loc) · 895 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
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "simple_lockfile"
gem.summary = %Q{A simple Lock File implementation.}
gem.description = %Q{A simple Lock File implementation.}
gem.email = "josh@josh-nesbitt.net"
gem.homepage = "http://blog.josh-nesbitt.net/2009/09/08/implementing-a-simple-lockfile-system-in-ruby/"
gem.authors = ["Josh Nesbitt"]
gem.files = ["lib/**/*.rb"]
gem.require_paths = ["lib"]
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 = "test #{version}"
rdoc.rdoc_files.include('readme.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
end