Sha256: 69eaff1d5360de0ed5ac8c1e821f73693ec562fcff5f4546fc222803aa31266d

Contents?: true

Size: 910 Bytes

Versions: 1

Compression:

Stored size: 910 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', '.rvmrc'
  readme      'README.rdoc'

  dependency  'term-ansicolor', '~>1.0'
  dependency  'tins',           '~>0.3'

  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.9 Rakefile