Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-203

Compiler guessing very inefficient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.2
    • 1.4.2
    • Compilers
    • None

    Description

      Buildr::Compiler::Base#applies_to? uses Dir.glob to scan the source tree for files matching the compiler's extension. This effectively scans all the files under that directory.

      Since guess_compiler is called for each defined project (in CompileTask#associate_with), files for all projects are scanned, not just for the project that is about to be built.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ittayd Ittay Dror
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: