Sha256: b990b0605d09336540b97f74a7eef463177444e82969debe4a7c29a282f35dfc

Contents?: true

Size: 806 Bytes

Versions: 1

Compression:

Stored size: 806 Bytes

Contents

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

require 'gem_hadar'

GemHadar do
  name        'tins'
  author      'Florian Frank'
  email       'flori@ping.de'
  homepage    "http://flori.github.com/#{name}"
  summary     'Useful stuff.'
  description 'All the stuff that isn\'t good/big enough for a real library.'
  test_dir    'tests'
  test_files.concat Dir["#{test_dir}/*_test.rb"]
  ignore      '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc'
  readme      'README.rdoc'
  development_dependency 'test-unit', '~>2.3'

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tins-0.3.4 Rakefile