Sha256: 1926c08aa8d1be74d80707aa821ee1bddaaaf9ac027b9fb09b57a1866129cae7

Contents?: true

Size: 802 Bytes

Versions: 1

Compression:

Stored size: 802 Bytes

Contents

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

require 'gem_hadar'

GemHadar do
  name        'spruz'
  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.'
  bindir      'bin'
  executables << 'enum'
  test_dir    'tests'
  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
spruz-0.2.13 Rakefile