-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
26 lines (20 loc) · 707 Bytes
/
Rakefile
File metadata and controls
26 lines (20 loc) · 707 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
require "rubygems"
require "hoe"
require "rake/extensiontask"
lib = File.expand_path("../lib/", __FILE__)
$:.unshift lib unless $:.include?(lib)
require "omnomnum/version"
Hoe.spec "omnomnum" do
developer("Jesse Buesking", "jessebuesking at gmail dot com")
self.version = OmNomNum::VERSION
self.readme_file = "readme.md"
self.history_file = "History.txt"
self.extra_dev_deps << ["rake-compile", ">= 0"]
self.spec_extras = { :extensions => ["ext/omnomnum/extconf.rb"] }
self.clean_globs << "ext/omnomnum/ruby_omnomnum.o"
Rake::ExtensionTask.new("omnomnum", spec) do |ext|
ext.lib_dir = File.join("lib", "omnomnum")
end
license ""
end
Rake::Task[:test].prerequisites << :compile