Sha256: 6ac8a62f7f28e35054e74ec4bf6dea83653fb336ef6197db4fad8bba1e356257

Contents?: true

Size: 1.07 KB

Versions: 7

Compression:

Stored size: 1.07 KB

Contents

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

require 'gem_hadar'

GemHadar do
  name        'utils'
  author      'Florian Frank'
  email       'flori@ping.de'
  homepage    "http://github.com/flori/#{name}"
  summary     'Some useful command line utilities'
  description 'This ruby gem provides some useful command line utilities'
  bindir      'bin'
  executables Dir['bin/*'].map(&File.method(:basename))
  test_dir    'tests'
  ignore      '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc', '.AppleDouble', 'tags'
  readme      'README.rdoc'

  dependency  'tins',           '~>0.8', '>=0.8.3'
  dependency  'term-ansicolor', '~>1.0'
  dependency  'dslkit',         '~>0.2.10'
  dependency  'pstree'
  dependency  'pry-editline'

  install_library do
    libdir = CONFIG["sitelibdir"]
    cd 'lib' do
      for file in Dir['**/*.rb']
        dest = File.join(libdir, File.dirname(file))
        mkdir_p dest
        install(file, dest)
      end
    end
    bindir = CONFIG["bindir"]
    cd 'bin' do
      for file in executables
        install(file, bindir, :mode => 0755)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
utils-0.0.94 Rakefile
utils-0.0.93 Rakefile
utils-0.0.92 Rakefile
utils-0.0.91 Rakefile
utils-0.0.90 Rakefile
utils-0.0.89 Rakefile
utils-0.0.88 Rakefile