aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimmy Willison <4timmywil@gmail.com>2021-03-01 17:48:55 -0500
committerTimmy Willison <4timmywil@gmail.com>2021-03-01 18:16:04 -0500
commitb2bbaa36d4d37bd48f954ed3cdbd50d3461a523d (patch)
tree45ea6b16c9b33b4947fbd5f6de8c5e90ff8eb2d7
parent967af73203378db0cc3637adee85c442e246e05a (diff)
downloadjquery-b2bbaa36d4d37bd48f954ed3cdbd50d3461a523d.tar.gz
jquery-b2bbaa36d4d37bd48f954ed3cdbd50d3461a523d.zip
Release: remove the need to install grunt globally
-rw-r--r--build/release.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/release.js b/build/release.js
index 0fea98711..e7399c968 100644
--- a/build/release.js
+++ b/build/release.js
@@ -47,10 +47,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 );