-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathgemspec.rb
More file actions
executable file
·40 lines (30 loc) · 845 Bytes
/
Copy pathgemspec.rb
File metadata and controls
executable file
·40 lines (30 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#! /usr/bin/env gem build
require 'rubygems'
Gem::Specification::new do |spec|
$VERBOSE = nil
shiteless = lambda do |list|
list.delete_if do |file|
file =~ %r/\.git/ or
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
spec.add_dependency 'orderedhash'
spec.author = "Ara T. Howard"
spec.email = "ara.t.howard@gmail.com"
spec.homepage = "http://github.com/ahoward/testy/tree/master"
end
BEGIN{
Dir.chdir(File.dirname(__FILE__))
$lib = 'testy'
Kernel.load "./lib/#{ $lib }.rb"
$version = Testy.version
}