mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Revert "Release: copy sizzle separately into an 'external' folder"
This reverts commit 59003ae713
.
This commit is contained in:
parent
c41defb7f3
commit
fabdc35eee
@ -12,6 +12,7 @@ module.exports = function( Release, complete ) {
|
|||||||
// These files are included with the distribution
|
// These files are included with the distribution
|
||||||
files = [
|
files = [
|
||||||
"src",
|
"src",
|
||||||
|
"external/sizzle",
|
||||||
"LICENSE.txt",
|
"LICENSE.txt",
|
||||||
"AUTHORS.txt",
|
"AUTHORS.txt",
|
||||||
"package.json"
|
"package.json"
|
||||||
@ -55,9 +56,7 @@ module.exports = function( Release, complete ) {
|
|||||||
function copy() {
|
function copy() {
|
||||||
|
|
||||||
// Copy dist files
|
// Copy dist files
|
||||||
var distFolder = Release.dir.dist + "/dist",
|
var distFolder = Release.dir.dist + "/dist";
|
||||||
externalFolder = Release.dir.dist + "/external";
|
|
||||||
|
|
||||||
shell.mkdir( "-p", distFolder );
|
shell.mkdir( "-p", distFolder );
|
||||||
[
|
[
|
||||||
"dist/jquery.js",
|
"dist/jquery.js",
|
||||||
@ -67,10 +66,6 @@ module.exports = function( Release, complete ) {
|
|||||||
shell.cp( "-f", Release.dir.repo + "/" + file, distFolder );
|
shell.cp( "-f", Release.dir.repo + "/" + file, distFolder );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
// Copy Sizzle
|
|
||||||
shell.mkdir( "-p", externalFolder );
|
|
||||||
shell.cp( "-rf", Release.dir.repo + "/external/sizzle", externalFolder );
|
|
||||||
|
|
||||||
// Copy other files
|
// Copy other files
|
||||||
files.forEach( function( file ) {
|
files.forEach( function( file ) {
|
||||||
shell.cp( "-rf", Release.dir.repo + "/" + file, Release.dir.dist );
|
shell.cp( "-rf", Release.dir.repo + "/" + file, Release.dir.dist );
|
||||||
|
Loading…
Reference in New Issue
Block a user