require 'rake/gempackagetask' GemSpec = Gem::Specification.new do |s| s.name = "concrete" s.version = "0.2.0" 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