forked from jvoorhis/ruby-llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
38 lines (29 loc) · 794 Bytes
/
Rakefile
File metadata and controls
38 lines (29 loc) · 794 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
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'rake/testtask'
Rake::RDocTask.new do |t|
t.rdoc_files = Dir['lib/**/*.rb']
end
def spec
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'ruby-llvm'
s.version = '2.7.0'
s.summary = "LLVM bindings for Ruby"
s.add_dependency('ffi', '>= 0.5.4')
s.files = Dir['lib/**/*rb']
s.require_path = 'lib'
s.has_rdoc = true
s.extra_rdoc_files = 'README.rdoc'
s.author = "Jeremy Voorhis"
s.email = "jvoorhis@gmail.com"
s.homepage = "http://github.com/jvoorhis/ruby-llvm"
end
end
Rake::GemPackageTask.new(spec) do |t|
end
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList["test/**/*_test.rb"]
end
task :default => [:test]