[wp-trac] [WordPress Trac] #50337: Build tools: Ensure built files have been updated in `src` directory.

WordPress Trac noreply at wordpress.org
Sun Jun 7 02:56:23 UTC 2020


#50337: Build tools: Ensure built files have been updated in `src` directory.
------------------------------+------------------------------
 Reporter:  peterwilsoncc     |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:  5.4
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------------------

Comment (by peterwilsoncc):

 In [attachment:"50337.diff"]:

 * Create a new build for testing built files
 * Exits `0` if `git status --porcelain -- ':(exclude)package-lock.json'`
 is empty
 * Exits `1` if `git status --porcelain -- ':(exclude)package-lock.json'`
 is not empty
 * I've ignored `package-lock.json` as it's operating system dependent.

 Sample builds:

 * [https://travis-ci.com/github/WordPress/wordpress-
 develop/builds/170124668 out of date files], tested with [47920] reverted.
 * [https://travis-ci.com/github/WordPress/wordpress-
 develop/builds/170124978 up to date files]

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


More information about the wp-trac mailing list