[wp-trac] [WordPress Trac] #36489: Optimize Grunt `prerelease` task

WordPress Trac noreply at wordpress.org
Tue Apr 12 01:43:46 UTC 2016


#36489: Optimize Grunt `prerelease` task
------------------------------+------------------------------
 Reporter:  netweb            |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Future Release
Component:  Build/Test Tools  |    Version:  4.5
 Severity:  normal            |   Keywords:  has-patch commit
  Focuses:                    |
------------------------------+------------------------------
 Previously in #35557 via r36930 the task `grunt prerelease` was added.

 Currently this task runs `grunt build` twice once when called in the task
 list as `build` and the other via the `precommit:js` task, which calls the
 `qunit:compiled` task in which `build` is a task of that task.

 Removing the extra `build` task from the `prerelease` saves time by not
 running `grunt build` twice.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36489>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list