Comparing version 1.3.11 to 1.3.12
{ | ||
"name": "depsync", | ||
"version": "1.3.11", | ||
"version": "1.3.12", | ||
"author": "Dom Chen", | ||
@@ -5,0 +5,0 @@ "homepage": "http://www.idom.me/", |
@@ -8,5 +8,16 @@ <p align="left"> | ||
Depsync is a command line tool for automatically synchronizing the dependencies of a project by the DEPS configuration file. | ||
A command line tool for automatically synchronizing the dependencies of a project by the DEPS configuration file. | ||
# Advantages | ||
The depsync tool provides a convenient way to download git repositories and files from the Internet, offering several key advantages over similar capabilities like git-submodules and git-lfs: | ||
- Repositories are always checked out with a depth of 1 without any extra command arguments, ensuring that the main project maintains a relatively compact size at all times. | ||
- Automatically download git-submodules and git-lfs files for your main project and third-party repositories without the need to run commands on each one individually. | ||
- During downloading process, git-lfs files that already exist in the local cache can be skipped. This approach works even for the shallow cloned repositories. | ||
- Enable the execution of custom actions after synchronization. For instance, you can include commands in the DEPS file to facilitate cleaning tasks and other operations. | ||
- Repositories and files can be configured separately for each platform to avoid downloading unnecessary dependencies and only acquire platform-specific ones. | ||
With all the advantages described above, all it takes is one straightforward command `depsync`. Execute it in the root of your main project, and you're good to go! | ||
# Installation | ||
@@ -13,0 +24,0 @@ |
@@ -82,3 +82,3 @@ ////////////////////////////////////////////////////////////////////////////////////// | ||
process.env["GIT_LFS_SKIP_SMUDGE"] = "1"; | ||
Utils.exec("git reset --hard FETCH_HEAD && git clean -f -q", item.dir); | ||
Utils.exec("git reset --hard FETCH_HEAD && git clean -df -q", item.dir); | ||
callback && callback(); | ||
@@ -85,0 +85,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53152
125