Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-56322

Stop grunt doing magic on subdirectories and only support --root type solution

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: JavaScript
    • Labels:
    • Affected Branches:
      MOODLE_32_STABLE

      Description

      There are various bugs floating around with grunt where it doesn't handle working in subdirectories properly.

      It's my feeling is that trying to get grunt to work in subdirs is going against the grain of how its designed to work too much.

      My reflections are that:

      • We should stop supporting that configuration
      • We should only support --root
      • We should make --root work properly by:
        • Always operating in a consistent directory (moodle root)
        • Using the grunt file filtering options to filter the files passed to grunt tasks instead
      • Suggested by Tim - we could have a --plugin mod_quiz option to make it easier than --root

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                poltawski Dan Poltawski
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: