From: Timmy Willison <4timmywil@gmail.com> Date: Mon, 1 Mar 2021 22:48:55 +0000 (-0500) Subject: Release: remove the need to install grunt globally X-Git-Tag: 3.6.0~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aed59da0c936b39b1c8cfd6cc30caa688103e074;p=jquery.git Release: remove the need to install grunt globally --- diff --git a/build/release.js b/build/release.js index b95e2b62f..6b22d95c0 100644 --- a/build/release.js +++ b/build/release.js @@ -51,10 +51,10 @@ module.exports = function( Release ) { * @param {Function} callback */ generateArtifacts: function( callback ) { - Release.exec( "grunt", "Grunt command failed" ); + Release.exec( "npx grunt", "Grunt command failed" ); Release.exec( - "grunt custom:slim --filename=jquery.slim.js && " + - "grunt remove_map_comment --filename=jquery.slim.js", + "npx grunt custom:slim --filename=jquery.slim.js && " + + "npx grunt remove_map_comment --filename=jquery.slim.js", "Grunt custom failed" ); cdn.makeReleaseCopies( Release );