-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
29 lines (25 loc) · 899 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 'rubygems'
require 'rake'
require 'rake/gempackagetask'
spec = Gem::Specification.new do |s|
s.name = "dbgeni"
s.version = "0.1.0"
s.author = "Stephen O'Donnell"
s.email = "stephen@betteratoracle.com"
s.homepage = "http://somewebsite.com"
s.platform = Gem::Platform::RUBY
s.summary = "A generic database installer"
s.files = FileList['lib/**/*.rb', 'bin/*', '[A-Z]*', 'test/**/*'].reject{ |fn| fn.include? "temp" }
s.require_path = "lib"
s.bindir = "bin"
s.executables << 'dbgeni'
s.description = "Generic installer to manage database migrations for various databases"
# s.autorequire = "name"
# s.test_files = FileList["{test}/**/*test.rb"].to_a
s.has_rdoc = false
# s.extra_rdoc_files = ["README"]
# s.add_dependency("dependency", ">= 0.x.x")
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
end