Sha256: 6df0b8192cb83e1963e6d70b22f7780a6b383f7af063c90fe9cc37853e64c9e3

Contents?: true

Size: 1 KB

Versions: 1

Compression:

Stored size: 1 KB

Contents

#! /usr/bin/env gem build

lib, version = File::basename(File::dirname(File::expand_path(__FILE__))).split %r/-/, 2

require 'rubygems'

Gem::Specification::new do |spec|
  $VERBOSE = nil

  shiteless = lambda do |list|
    list.delete_if do |file|
      file =~ %r/\.svn/ or
      file =~ %r/\.tmp/
    end
  end

  spec.name = lib 
  spec.version = version 
  spec.platform = Gem::Platform::RUBY
  spec.summary = lib 

  spec.files = shiteless[Dir::glob("**/**")]
  spec.executables = shiteless[Dir::glob("bin/*")].map{|exe| File::basename exe}
  
  spec.require_path = "lib" 

  spec.has_rdoc = true #File::exist? "doc" 
  spec.test_suite_file = "test/#{ lib }.rb" if File::file?("test/#{ lib }.rb")
  #spec.add_dependency 'lib', '>= version'
  #spec.add_dependency 'fattr'

  spec.extensions << "extconf.rb" if File::exists? "extconf.rb"

  spec.rubyforge_project = 'codeforpeople'
  spec.author = "Ara T. Howard"
  spec.email = "ara.t.howard@gmail.com"
  spec.homepage = "http://codeforpeople.com/lib/ruby/#{ lib }/"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tagz-5.0.0 gemspec.rb