diff options
Diffstat (limited to 'mrbgems')
| -rw-r--r-- | mrbgems/mruby-test/mrbgem.rake | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mrbgems/mruby-test/mrbgem.rake b/mrbgems/mruby-test/mrbgem.rake index 2f4d0287a..6ce24bc94 100644 --- a/mrbgems/mruby-test/mrbgem.rake +++ b/mrbgems/mruby-test/mrbgem.rake @@ -149,12 +149,7 @@ MRuby::Gem::Specification.new('mruby-test') do |spec| # of the test gem depending on a change to the gem # selection active_gems_path = "#{build_dir}/active_gems_path.lst" - active_gem_list = if File.exist? active_gems_path - File.read active_gems_path - else - mkdir_p File.dirname(active_gems_path) - nil - end + active_gem_list = File.read active_gems_path if File.exist? active_gems_path current_gem_list = build.gems.map(&:name).join("\n") task active_gems_path do |_t| mkdir_p File.dirname(active_gems_path) |
