Changeset 45445 for trunk/src/index.php
- Timestamp:
- 05/26/2019 07:34:24 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/index.php
r45190 r45445 35 35 $die .= '<p>' . sprintf( 36 36 /* translators: %s: npm install */ 37 __( 'Before running any grunttasks you need to make sure the dependencies are installed. You can install these by running %s.' ),37 __( 'Before running any build tasks you need to make sure the dependencies are installed. You can install these by running %s.' ), 38 38 '<code style="color: green;">npm install</code>' 39 39 ) . '</p>'; … … 41 41 $die .= '<ul>'; 42 42 $die .= '<li>' . __( 'To build WordPress while developing, run:' ) . '<br /><br />'; 43 $die .= '<code style="color: green;"> grunt build --dev</code></li>';43 $die .= '<code style="color: green;">npm run dev</code></li>'; 44 44 $die .= '<li>' . __( 'To build files automatically when changing the source files, run:' ) . '<br /><br />'; 45 $die .= '<code style="color: green;"> gruntwatch</code></li>';45 $die .= '<code style="color: green;">npm run watch</code></li>'; 46 46 $die .= '<li>' . __( 'To create a production build of WordPress, run:' ) . '<br /><br />'; 47 $die .= '<code style="color: green;"> gruntbuild</code></li>';47 $die .= '<code style="color: green;">npm run build</code></li>'; 48 48 $die .= '</ul>'; 49 49 50 50 $die .= '<p>' . sprintf( 51 /* translators: 1: NPM URL, 2: Grunt URL, 3:Handbook URL */52 __( 'This requires <a href="%1$s">NPM</a> and <a href="%2$s">Grunt</a>. <a href="%3$s">Read more about setting up your local development environment</a>.' ),51 /* translators: 1: NPM URL, 2: Handbook URL */ 52 __( 'This requires <a href="%1$s">NPM</a>. <a href="%2$s">Read more about setting up your local development environment</a>.' ), 53 53 'https://www.npmjs.com/get-npm', 54 'https://gruntjs.com/getting-started',55 54 __( 'https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/' ) 56 55 ) . '</p>';
Note: See TracChangeset
for help on using the changeset viewer.