diff options
author | Timmy Willison <4timmywil@gmail.com> | 2021-03-01 17:48:55 -0500 |
---|---|---|
committer | Timmy Willison <4timmywil@gmail.com> | 2021-03-01 18:16:04 -0500 |
commit | b2bbaa36d4d37bd48f954ed3cdbd50d3461a523d (patch) | |
tree | 45ea6b16c9b33b4947fbd5f6de8c5e90ff8eb2d7 | |
parent | 967af73203378db0cc3637adee85c442e246e05a (diff) | |
download | jquery-b2bbaa36d4d37bd48f954ed3cdbd50d3461a523d.tar.gz jquery-b2bbaa36d4d37bd48f954ed3cdbd50d3461a523d.zip |
Release: remove the need to install grunt globally
-rw-r--r-- | build/release.js | 6 |
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 ); |