Sha256: afc6e0efec5c4cb464387a44302c248452779c765d2d562247102c1bc0848433

Contents?: true

Size: 1.45 KB

Versions: 1

Compression:

Stored size: 1.45 KB

Contents

require 'rake'
require 'rake/clean'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'
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.2'
  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', '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::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', 'doc/**/*.rdoc', 'test/*.rb']
  rd.main = 'README'
  rd.rdoc_files.include(files)
  rd.rdoc_dir = "doc"
  rd.title = "Simple Declarative Language for Ruby"
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.2 Rakefile