forked from clr/imforger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
33 lines (23 loc) · 746 Bytes
/
Rakefile
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
require 'rubygems'
require 'psych'
require 'hoe'
class Hoe
remove_const :RUBY_FLAGS
RUBY_FLAGS = "-I#{%w(lib ext test).join(File::PATH_SEPARATOR)}"
end
gem 'rake-compiler', '>= 0.4.1'
require "rake/extensiontask"
Hoe.plugin :git, :doofus, :gemcutter
Hoe.spec 'imforger' do
developer 'Casey Rosenthal', '[email protected]'
self.history_file = 'History.txt'
self.readme_file = 'README.txt'
self.testlib = :minitest
extra_dev_deps << ['rake-compiler', '>= 0.4.1']
self.spec_extras = {:extensions => ['ext/imforger/extconf.rb']}
Rake::ExtensionTask.new "imforger", spec do |ext|
ext.lib_dir = File.join(*['lib', ENV['FAT_DIR']].compact)
end
end
Hoe.add_include_dirs('.:lib')
task :test => :compile