-
Notifications
You must be signed in to change notification settings - Fork 0
/
mrbgem.rake
27 lines (26 loc) · 1012 Bytes
/
mrbgem.rake
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
MRuby::Gem::Specification.new('mruby-rack-httpcache') do |spec|
spec.license = 'MIT'
spec.authors = 'Ichito Nagata'
spec.summary = 'Rack::HTTPCache'
spec.version = '0.0.1'
spec.add_dependency 'mruby-onig-regexp'
spec.add_dependency 'mruby-io'
spec.add_dependency 'mruby-rack', :github => 'i110/mruby-rack'
spec.add_dependency 'mruby-json', :github => 'mattn/mruby-json'
spec.add_test_dependency 'mruby-require', :github => 'iij/mruby-require'
spec.add_test_dependency 'mruby-tempfile', :github => 'iij/mruby-tempfile'
# order matters
spec.rbfiles = [
"#{dir}/mrblib/rack/httpcache/stream.rb",
"#{dir}/mrblib/rack/httpcache/storage.rb",
"#{dir}/mrblib/rack/httpcache/cache_control.rb",
"#{dir}/mrblib/rack/httpcache/utils.rb",
"#{dir}/mrblib/rack/httpcache/response.rb",
"#{dir}/mrblib/rack/httpcache/request.rb",
"#{dir}/mrblib/rack/httpcache.rb",
]
spec.test_rbfiles = [
"#{dir}/test/basic.rb",
]
spec.test_preload = "#{dir}/test/preload.rb"
end