[wp-trac] [WordPress Trac] #36528: Only run imagemin task inside precommit task if images are added/modified

WordPress Trac noreply at wordpress.org
Fri Apr 15 16:03:29 UTC 2016


#36528: Only run imagemin task inside precommit task if images are added/modified
------------------------------+------------------
 Reporter:  iseulde           |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.6
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------

Comment (by jorbin):

 Replying to [comment:9 iseulde]:
 > Shall we run these if `package.json` is changed, or straight run
 `prerelease` if it is changed?

 `prerelease` seems best to me.  Maybe we should also do this if the
 gruntfile.js changes to be on the safe side? I generally run most of the
 tasks then anyways just to make sure things are working properly and to
 see if the build has changed any files.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36528#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list