- Notifications
You must be signed in to change notification settings - Fork 201
Expand file tree
/
Copy pathRakefile
More file actions
Latest commit
23 lines (19 loc) · 592 Bytes
/
Copy pathRakefile
File metadata and controls
23 lines (19 loc) · 592 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require'rubygems'
Gem::manage_gems
require'rake/gempackagetask'
spec=Gem::Specification.newdo |s|
s.platform=Gem::Platform::RUBY
s.name="simplegit"
s.version="0.1.1"
s.author="Scott Chacon"
s.email="schacon@gmail.com"
s.summary="A simple gem for using Git in Ruby code."
s.files=FileList['lib/**/*'].to_a
s.require_path="lib"
end
Rake::GemPackageTask.new(spec)do |pkg|
pkg.need_tar=true
end
task:default=>"pkg/#{spec.name}-#{spec.version}.gem"do
puts"generated latest version"
end