[wp-trac] [WordPress Trac] #41957: Fix Grunt tasks to run without needing access to svn or git

WordPress Trac noreply at wordpress.org
Fri Sep 22 17:32:08 UTC 2017


#41957: Fix Grunt tasks to run without needing access to svn or git
------------------------------+-------------------
 Reporter:  azaozz            |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  4.9
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-------------------
 In the Grunt config we (cleverly) test which files were modified before
 running the `precommit` task to save some time and not process and test
 unmodified files.

 However in some cases the `svn` or `git` commands may not be globally
 accessible in the terminal. This usually happens when they are installed
 as part of larger packages like IDEs, GUIs, etc.

 In these cases we exit with an error but we can still perform all building
 and testing tasks.

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


More information about the wp-trac mailing list