diff options
| author | Tomoyuki Sahara <[email protected]> | 2013-08-26 23:20:22 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2013-08-26 23:20:22 +0900 |
| commit | f77dc2e6cb2c2ea21c6cca96f88d06acfbf30d17 (patch) | |
| tree | bc0f3ab1cdb846fa004f6a19fc706492895a5a7d /tasks | |
| parent | 0e8efd4a218f3d235f88054f0d9d11f8bfdcfd33 (diff) | |
| parent | 91b878e5dfa671b63c26019962736dda1a58f9fc (diff) | |
| download | mruby-f77dc2e6cb2c2ea21c6cca96f88d06acfbf30d17.tar.gz mruby-f77dc2e6cb2c2ea21c6cca96f88d06acfbf30d17.zip | |
Merge branch 'mruby' into pr-typeerror-string-start-end-with
Conflicts:
mrbgems/mruby-string-ext/src/string.c
mrbgems/mruby-string-ext/test/string.rb
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/mrbgem_spec.rake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake index df55e749f..94f24af26 100644 --- a/tasks/mrbgem_spec.rake +++ b/tasks/mrbgem_spec.rake @@ -6,7 +6,7 @@ module MRuby class << self attr_accessor :current end - LinkerConfig = Struct.new(:libraries, :library_paths, :flags, :flags_before_libraries, :flags_after_libraries) + LinkerConfig = Struct.new(:libraries, :library_paths, :flags, :flags_before_libraries, :flags_after_libraries) class Specification include Rake::DSL @@ -53,13 +53,13 @@ module MRuby @linker = LinkerConfig.new([], [], [], []) @rbfiles = Dir.glob("#{dir}/mrblib/*.rb").sort - @objs = Dir.glob("#{dir}/src/*.{c,cpp,m,asm,S}").map do |f| + @objs = Dir.glob("#{dir}/src/*.{c,cpp,cxx,m,asm,S}").map do |f| objfile(f.relative_path_from(@dir).to_s.pathmap("#{build_dir}/%X")) end @objs << objfile("#{build_dir}/gem_init") @test_rbfiles = Dir.glob("#{dir}/test/*.rb") - @test_objs = Dir.glob("#{dir}/test/*.{c,cpp,m,asm,S}").map do |f| + @test_objs = Dir.glob("#{dir}/test/*.{c,cpp,cxx,m,asm,S}").map do |f| objfile(f.relative_path_from(dir).to_s.pathmap("#{build_dir}/%X")) end @test_preload = 'test/assert.rb' @@ -211,7 +211,7 @@ module MRuby end # ~> compare algorithm - # + # # Example: # ~> 2.2 means >= 2.2.0 and < 3.0.0 # ~> 2.2.0 means >= 2.2.0 and < 2.3.0 |
