diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-21 09:24:28 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-21 09:24:28 +0900 |
| commit | 5bcb119ed79fc0554c9db25e1c468d5241be502b (patch) | |
| tree | c0e521c6ff7e3ac0f4a62a3075e18d86eb875357 /tasks/mrbgem_spec.rake | |
| parent | bb5e4cfd6d1ff5c3a3b2e0cd0090444cad38254f (diff) | |
| download | mruby-5bcb119ed79fc0554c9db25e1c468d5241be502b.tar.gz mruby-5bcb119ed79fc0554c9db25e1c468d5241be502b.zip | |
use File#directory? instead of File#exist?; ref c2d8b0
Diffstat (limited to 'tasks/mrbgem_spec.rake')
| -rw-r--r-- | tasks/mrbgem_spec.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake index e77ba9fbc..4d4189818 100644 --- a/tasks/mrbgem_spec.rake +++ b/tasks/mrbgem_spec.rake @@ -55,7 +55,7 @@ module MRuby MRuby::Gem.current = self @build.compilers.each do |compiler| compiler.include_paths << "#{dir}/include" - end if File.exist? "#{dir}/include" + end if File.directory? "#{dir}/include" MRuby::Build::COMMANDS.each do |command| instance_variable_set("@#{command}", @build.send(command).clone) end |
