Sha256: b4ea03e1486d32670f404b310c417a48fac828c755420cf3277f99a2a80bcfce
Contents?: true
Size: 1.86 KB
Versions: 1
Compression:
Stored size: 1.86 KB
Contents
require 'rake' require 'rake/clean' require 'rake/testtask' require 'rake/rdoctask' require 'rake/gempackagetask' require 'rake/packagetask' require 'rubygems' spec = Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.summary = "Simple Declarative Language for Ruby library" s.name = 'sdl4r' s.version = '0.9.6' s.requirements << 'none' s.require_path = 'lib' s.authors = ['Philippe Vosges', 'Daniel Leuck'] s.email = 'sdl-users@ikayzo.org' s.rubyforge_project = 'sdl4r' s.homepage = 'http://www.ikayzo.org/confluence/display/SDL/Home' s.files = FileList['lib/sdl4r.rb', 'lib/sdl4r/**/*.rb', 'bin/*', '[A-Z]*', 'test/**/*', 'doc/**/*'].to_a s.test_files = FileList[ 'test/**/*test.rb' ].to_a s.description = <<EOF The Simple Declarative Language provides an easy way to describe lists, maps, and trees of typed data in a compact, easy to read representation. For property files, configuration files, logs, and simple serialization requirements, SDL provides a compelling alternative to XML and Properties files. EOF end Rake::PackageTask.new(spec.name, spec.version) do |p| p.need_zip = true p.need_tar = false p.need_tar_gz = false p.need_tar_bz2 = false #p.package_files.include("lib/sdl4r/**/*.rb") # If "zip" is not available, we try 7-zip. system("zip") p.zip_command = "7z a -tzip" if $?.exitstatus == 127 end Rake::GemPackageTask.new(spec) do |pkg| pkg.need_zip = true pkg.need_tar = true end Rake::RDocTask.new do |rd| files = ['README', 'LICENSE', 'CHANGELOG', 'lib/sdl4r.rb', 'lib/sdl4r/**/*.rb', 'doc/**/*.rdoc', 'test/*.rb'] rd.main = 'README' rd.rdoc_files.include(files) rd.rdoc_dir = "doc" rd.title = "RDoc: Simple Declarative Language for Ruby" rd.options << '--charset' << 'utf-8' end Rake::TestTask.new do |t| t.libs << "lib" t.test_files = FileList['test/**/*test.rb'] t.verbose = true end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sdl4r-0.9.6 | Rakefile |