-
Notifications
You must be signed in to change notification settings - Fork 1
/
ruby-libjit.gemspec
43 lines (34 loc) · 961 Bytes
/
ruby-libjit.gemspec
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
41
42
require 'enumerator'
spec = Gem::Specification.new do |s|
s.name = 'ruby-libjit'
s.version = File.read('VERSION').chomp
s.summary = 'A wrapper for the libjit library'
s.homepage = 'http://ruby-libjit.rubyforge.org'
s.rubyforge_project = 'ruby-libjit'
s.author = 'Paul Brannan'
s.email = '[email protected]'
s.description = <<-END
Ruby-libjit is a wrapper for the libjit library. Libjit is a
lightweight library for building just-in-time compilers. Ruby-libjit
includes both a wrapper for libjit and a minimal DSL for building loops
and control structures.
END
patterns = [
'VERSION',
'COPYING',
'LGPL',
'LICENSE',
'README',
'lib/*.rb',
'lib/jit/*.rb',
'ext/*.rb',
'ext/*.c',
'ext/*.h',
'ext/*.rpp',
'sample/*.rb',
]
s.files = patterns.collect { |p| Dir.glob(p) }.flatten
s.test_files = Dir.glob('test/test_*.rb')
s.extensions = 'ext/extconf.rb'
s.has_rdoc = true
end