-
Notifications
You must be signed in to change notification settings - Fork 3
/
Rakefile
27 lines (23 loc) · 853 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
require 'rubygems'
require 'rubygems/gem_runner'
require 'rake/gempackagetask'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = "dm-yaml-adapter"
s.version = "0.5"
s.author = "Joshua Harding"
s.email = "[email protected]"
s.summary = "a YAML adapter for DataMapper. this (slow) adapter allows you to use DataMapper with YAML files as a backing store."
s.files = FileList['lib/*.rb', 'spec/*'].to_a
s.require_path = "lib"
s.autorequire = "dm-yaml-adapter"
s.test_files = Dir.glob('spec/*.rb')
s.has_rdoc = false
s.extra_rdoc_files = ["README"]
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