From 6d18833cc7058af30e1e9913073777b6fb4607ad Mon Sep 17 00:00:00 2001 From: wszgrcy Date: Thu, 23 Nov 2023 19:30:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=90=8C=E6=AD=A5angular=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sync-angular.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sync-angular.sh diff --git a/sync-angular.sh b/sync-angular.sh new file mode 100644 index 0000000..45ec6b8 --- /dev/null +++ b/sync-angular.sh @@ -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