From 9d81487c8b57b2acbcc9d8ce627de1bd55bebd9c Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Wed, 5 Mar 2014 14:29:45 +0900 Subject: add existing include/ directory only --- tasks/mrbgem_spec.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake index 8cde1c12d..daf0bec3a 100644 --- a/tasks/mrbgem_spec.rake +++ b/tasks/mrbgem_spec.rake @@ -51,7 +51,7 @@ module MRuby MRuby::Gem.current = self @build.compilers.each do |compiler| compiler.include_paths << "#{dir}/include" - end + end if Dir.exist? "#{dir}/include" MRuby::Build::COMMANDS.each do |command| instance_variable_set("@#{command}", @build.send(command).clone) end -- cgit v1.2.3