Skip to content

Commit

Permalink
Release: remove the need to install grunt globally
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Mar 1, 2021
1 parent 967af73 commit b2bbaa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/release.js
Expand Up @@ -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 );
Expand Down

0 comments on commit b2bbaa3

Please sign in to comment.