forked from jquery/jquery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manage bower dependencies with grunt-bowercopy
Tracked bower dependencies are located at "src/sizzle" and "test/libs". The source-destination mapping is in the Gruntfile. When updating a bower dependency, update the version in bower.json, run `grunt bower`, and then commit the result. When adding a dependency, update the bowercopy task accordingly. Fixes #14615. Closes jquerygh-1452.
- Loading branch information
Showing
26 changed files
with
18,307 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
dist | ||
/dist | ||
.project | ||
.settings | ||
*~ | ||
*.diff | ||
*.patch | ||
/*.html | ||
.DS_Store | ||
.bower.json | ||
.sizecache.json | ||
dist/.destination.json | ||
dist/.sizecache.json | ||
build/.sizecache.json | ||
bower_components | ||
bower_modules | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,6 @@ var releaseVersion, | |
pkg, | ||
branch, | ||
|
||
sizzleLoc = "bower_modules/sizzle", | ||
|
||
scpURL = "[email protected]:/var/www/html/code.jquery.com/", | ||
cdnURL = "http://code.origin.jquery.com/", | ||
repoURL = "[email protected]:jquery/jquery.git", | ||
|
@@ -103,9 +101,6 @@ function initialize( next ) { | |
if ( !exists( "package.json" ) ) { | ||
die( "No package.json in this directory" ); | ||
} | ||
if ( !exists( sizzleLoc ) ) { | ||
die( "Sizzle expected to exist at " + sizzleLoc ); | ||
} | ||
pkg = readJSON( "package.json" ); | ||
|
||
console.log( "Current version is " + pkg.version + "; generating release " + releaseVersion ); | ||
|
@@ -309,15 +304,9 @@ function commitDistFiles( next ) { | |
// Add files to be committed | ||
git( [ "add", "package.json" ], function() { | ||
git( [ "commit", "-m", "Remove scripts property from package.json" ], function() { | ||
// Add sizzle in a separate commit to avoid a big diff | ||
// Use force to add normally ignored files | ||
git( [ "add", "-f", sizzleLoc ], function() { | ||
git( [ "commit", "-m", "Add sizzle" ], function() { | ||
// Add jquery files for distribution in a final commit | ||
git( [ "add", "-f", devFile, minFile, mapFile ], function() { | ||
git( [ "commit", "-m", releaseVersion ], next, debug ); | ||
}, debug ); | ||
}, debug ); | ||
// Add jquery files for distribution in a final commit | ||
git( [ "add", "-f", devFile, minFile, mapFile ], function() { | ||
git( [ "commit", "-m", releaseVersion ], next, debug ); | ||
}, debug ); | ||
}, debug ); | ||
}, debug ); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.