mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Release: remove the need to install grunt globally
This commit is contained in:
parent
967af73203
commit
b2bbaa36d4
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user