Skip to content

Commit

Permalink
feat: 同步angular版本
Browse files Browse the repository at this point in the history
  • Loading branch information
wszgrcy committed Nov 23, 2023
1 parent 4d74cf2 commit 6d18833
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions sync-angular.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
dir=$(pwd)
echo $dir
git clone --filter=blob:none --no-checkout --sparse https://github.com/angular/angular.git --depth 1 --branch 17.0.4 ./.temp-git/compiler
cd ./.temp-git/compiler
git sparse-checkout set packages/compiler
git checkout 17.0.4
cd $dir
git clone --filter=blob:none --no-checkout --sparse https://github.com/angular/angular.git --depth 1 --branch 17.0.4 ./.temp-git/compiler-cli
cd ./.temp-git/compiler-cli
git sparse-checkout set packages/compiler-cli
git checkout 17.0.4
cd $dir
git clone --filter=blob:none --no-checkout --sparse https://github.com/angular/angular.git --depth 1 --branch 17.0.4 .temp-git/core
cd ./.temp-git/core
git sparse-checkout set packages/core/src
git checkout 17.0.4

0 comments on commit 6d18833

Please sign in to comment.