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

WordPress Trac noreply at wordpress.org
Mon Jun 13 05:06:42 UTC 2016


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

Comment (by azaozz):

 In 36528.3.patch:
 - Use regex to match in `result.stdout`.
 - Define the callbacks outside of the `if` statements.

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


More information about the wp-trac mailing list