mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
Release: remove the need to install grunt globally
This commit is contained in:
parent
8606ce4292
commit
aed59da0c9
@ -51,10 +51,10 @@ module.exports = function( Release ) {
|
|||||||
* @param {Function} callback
|
* @param {Function} callback
|
||||||
*/
|
*/
|
||||||
generateArtifacts: function( callback ) {
|
generateArtifacts: function( callback ) {
|
||||||
Release.exec( "grunt", "Grunt command failed" );
|
Release.exec( "npx grunt", "Grunt command failed" );
|
||||||
Release.exec(
|
Release.exec(
|
||||||
"grunt custom:slim --filename=jquery.slim.js && " +
|
"npx grunt custom:slim --filename=jquery.slim.js && " +
|
||||||
"grunt remove_map_comment --filename=jquery.slim.js",
|
"npx grunt remove_map_comment --filename=jquery.slim.js",
|
||||||
"Grunt custom failed"
|
"Grunt custom failed"
|
||||||
);
|
);
|
||||||
cdn.makeReleaseCopies( Release );
|
cdn.makeReleaseCopies( Release );
|
||||||
|
Loading…
Reference in New Issue
Block a user