]> source.dussan.org Git - jquery.git/commitdiff
Revert "Release: copy sizzle separately into an 'external' folder"
authorTimmy Willison <timmywillisn@gmail.com>
Thu, 12 May 2016 14:28:23 +0000 (10:28 -0400)
committerTimmy Willison <timmywillisn@gmail.com>
Thu, 12 May 2016 14:28:23 +0000 (10:28 -0400)
This reverts commit 59003ae7132677023247ed1868e4e426e4c2fe81.

build/release/dist.js

index 3ad00c59018403239d9c5888be8536c37fbc12fe..178e38cabb7546e90db3d2f0f4d2ca6377008f7b 100644 (file)
@@ -12,6 +12,7 @@ module.exports = function( Release, complete ) {
                // These files are included with the distribution
                files = [
                        "src",
+                       "external/sizzle",
                        "LICENSE.txt",
                        "AUTHORS.txt",
                        "package.json"
@@ -55,9 +56,7 @@ module.exports = function( Release, complete ) {
        function copy() {
 
                // Copy dist files
-               var distFolder = Release.dir.dist + "/dist",
-                       externalFolder = Release.dir.dist + "/external";
-
+               var distFolder = Release.dir.dist + "/dist";
                shell.mkdir( "-p", distFolder );
                [
                        "dist/jquery.js",
@@ -67,10 +66,6 @@ module.exports = function( Release, complete ) {
                        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
                files.forEach( function( file ) {
                        shell.cp( "-rf", Release.dir.repo + "/" + file, Release.dir.dist );