-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathrakefile
33 lines (26 loc) · 971 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
30
31
32
33
require 'rake/gempackagetask'
GemSpec = Gem::Specification.new do |s|
s.name = "concrete"
s.version = "0.2.1"
s.date = Time.now.strftime("%Y-%m-%d")
s.summary = %q{Concrete is a lightweight, web-based model editor which can be configured for different DSLs}
s.authors = ["Martin Thiede"]
s.required_ruby_version = Gem::Version::Requirement.new(">= 1.8.6")
s.add_dependency('rgen', '>= 0.5.2')
s.add_dependency('andand', '>= 1.3.1')
gemfiles = Rake::FileList.new
gemfiles.include("concrete/**/*")
gemfiles.include("doc/**/*")
gemfiles.include("example/**/*")
gemfiles.include("lib/**/*")
gemfiles.include("redist/**/*")
gemfiles.include("test/**/*")
gemfiles.include("CHANGELOG", "MIT-LICENSE", "rakefile", "README.rdoc")
s.files = gemfiles
s.require_paths << "lib"
end
Rake::GemPackageTask.new(GemSpec) do |p|
p.need_zip = false
end
task :default => :package
task :clobber => :clobber_package