Sha256: 17ea42eaf520f0e12f9b0a1a0c3cec2675d8633af1dbac766f88b10b235268c7

Contents?: true

Size: 900 Bytes

Versions: 1

Compression:

Stored size: 900 Bytes

Contents

# vim: set filetype=ruby et sw=2 ts=2:

require 'gem_hadar'

GemHadar do
  name        'dslkit'
  path_module 'DSLKit'
  author      'Florian Frank'
  email       'flori@ping.de'
  homepage    "http://flori.github.com/#{name}"
  summary     'Kit for building DSLs in Ruby'
  description 'This library contains recurring patterns, that are useful in the creation of internal Domain Specific Languages (DSL) in Ruby.'
  test_dir    'tests'
  ignore      '.*.sw[pon]', 'pkg', 'Gemfile.lock'
  readme      'README.rdoc'

  dependency  'term-ansicolor', '~>1.0'
  dependency  'spruz',          '~>0.2'

  install_library do
    libdir = CONFIG["sitelibdir"]
    cd 'lib' do 
      dst = File.join(libdir, 'dslkit')
      mkdir_p dst
      cd 'dslkit' do
        for file in Dir['*.rb']
          install file, File.join(dst, file)
        end
      end
      install 'dslkit.rb', libdir
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dslkit-0.2.7 Rakefile