forked from nirvdrum/svn2git
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
30 lines (24 loc) · 831 Bytes
/
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
require 'rake'
require 'rake/gempackagetask'
spec = Gem::Specification.new do |spec|
spec.name = "svn2git"
spec.version = "1.1.0"
spec.platform = Gem::Platform::RUBY
spec.summary = "A tool for migrating svn projects to git"
spec.require_path = "lib"
spec.files = FileList["lib/**/*"].to_a
spec.autorequire = "lib/svn2git.rb"
spec.bindir = "bin"
spec.executables = ["svn2git"]
spec.default_executable = "svn2git"
spec.author = "James Coglan"
spec.email = "[email protected]"
spec.homepage = "http://github.com/jcoglan/svn2git/"
spec.test_files = FileList["test/**/*"].to_a
spec.has_rdoc = true
spec.extra_rdoc_files = ["README"]
spec.rdoc_options << "--main" << "README" << '--line-numbers' << '--inline-source'
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
end