if (ENV["CARD_LOAD_STRATEGY"] == "tmp_files") && ENV["CARD_SIMPLECOV"] != "false" SimpleCov.start do def add_mod_groups dir_pattern Dir[dir_pattern].each do |path| modname = File.basename path add_group "Mod: #{modname}", %r{(mod/|mod\d{3}-)#{modname}} end end <% if platypus? %> root "<%= expanded_repo_path %>" add_mod_groups "#{root}/{card/,}/mod/*" add_group "Cardname", "cardname/lib" add_group "Card", "card/lib" add_group "Decko", "decko/lib" add_group "Set Patterns", "tmp/set_pattern" add_filter "/generators/" add_filter "_spec_helper" <% else %> add_mod_groups "mod/*" add_filter "tmp/set/gem" add_filter "tmp/set_pattern" <% end %> add_filter "/spec/" add_filter "/features/" add_filter "/config/" add_filter "/tasks/" end end