[wp-trac] [WordPress Trac] #25161: Define SCRIPT_DEBUG in trunk/src and remove it when building

WordPress Trac noreply at wordpress.org
Sat Oct 5 14:27:07 UTC 2013


#25161: Define SCRIPT_DEBUG in trunk/src and remove it when building
----------------------------+--------------------
 Reporter:  azaozz          |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.7
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------
Changes (by nacin):

 * type:  defect (bug) => task (blessed)
 * severity:  blocker => normal


Comment:

 Currently the syncing script strips -src. Ideally grunt does this, in part
 so the `build`directory does not reflect -src. Using the processContent
 approach above slows down the build process by a few seconds, even when
 bailing when filepath !== 'src/wp-includes/version.php'. So I think we
 instead need to use something like https://npmjs.org/package/grunt-
 replace, https://npmjs.org/package/grunt-string-replace, or
 https://npmjs.org/package/grunt-text-replace. Thoughts?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25161#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list