forked from costan/smartcard
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
34 lines (28 loc) · 982 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
34
require 'rubygems'
require 'echoe'
require 'tasks/ffi_codegen.rb'
Echoe.new('smartcard') do |p|
p.project = 'smartcard' # rubyforge project
p.author = 'Victor Costan'
p.email = '[email protected]'
p.summary = 'Interface with ISO 7816 smart cards.'
p.url = 'http://www.costan.us/smartcard'
p.dependencies = ['ffi >=0.5.3',
'rubyzip >=0.9.1',
'zerg_support >=0.1.5']
p.development_dependencies = ['echoe >=3.2',
'flexmock >=0.8.6']
p.need_tar_gz = !Gem.win_platform?
p.need_zip = !Gem.win_platform?
p.clean_pattern += ['ext/**/*.manifest', 'ext/**/*_autogen.h']
p.rdoc_pattern =
/^(lib|bin|tasks|ext)|^BUILD|^README|^CHANGELOG|^TODO|^LICENSE|^COPYING$/
end
unless FFI::Platform.windows?
task :package => :ffi_header
task :test => :ffi_header
end
if $0 == __FILE__
Rake.application = Rake::Application.new
Rake.application.run
end