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

When in module directory, default grunt task runs jshint on all javascript modules

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Modify 2 amd source files in 2 different directories
      2. Modify 1 yui source file
      3. cd to one of the amd directories
      4. run grunt
      5. Make sure only that amd file is recompiled and the others are not
      6. Run grunt in the root directory
      7. Make sure both the yui file and the grunt file are compiled
      Show
      Modify 2 amd source files in 2 different directories Modify 1 yui source file cd to one of the amd directories run grunt Make sure only that amd file is recompiled and the others are not Run grunt in the root directory Make sure both the yui file and the grunt file are compiled
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      master

      Description

      Running grunt from within a module's amd subdirectory causes the jshint task to be executed on all javascript modules, instead of just the one(s) in the current directory.

      If you're in a module's amd subdirectory, I would expect it to run jshint on everything in that directory, and nothing else.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Mar/16