From db7698c4906e96a8f5abc1391c8073b33822e251 Mon Sep 17 00:00:00 2001 From: Vasil Mihalkov Date: Tue, 15 Jan 2019 15:06:16 +0200 Subject: [PATCH 1/2] feat(build): PreDeploy script cleaning sass and typescript folders #3618 --- PreDeploy.ps1 | 5 +++++ angularDocs.nuspec | 1 + 2 files changed, 6 insertions(+) create mode 100644 PreDeploy.ps1 diff --git a/PreDeploy.ps1 b/PreDeploy.ps1 new file mode 100644 index 00000000000..5aa654c0af2 --- /dev/null +++ b/PreDeploy.ps1 @@ -0,0 +1,5 @@ +Write-Host "The root folder is: " $angularDocsRoot +Write-Host "Removing " $angularDocsRoot\sass\* +Remove-Item $angularDocsRoot\sass\* -Recurse -Force +Write-Host "Removing " $angularDocsRoot\typescript\* +Remove-Item $angularDocsRoot\typescript\* -Recurse -Force diff --git a/angularDocs.nuspec b/angularDocs.nuspec index c9abfb439e8..f9ff5e1cd27 100644 --- a/angularDocs.nuspec +++ b/angularDocs.nuspec @@ -11,6 +11,7 @@ + From 458a3e8311bf02246c8fdda327e9b551b12bd58a Mon Sep 17 00:00:00 2001 From: Vasil Mihalkov Date: Wed, 16 Jan 2019 11:11:09 +0200 Subject: [PATCH 2/2] feat(build): Moving PreDeploy.ps1 inside extras folder #3618 --- angularDocs.nuspec | 2 +- PreDeploy.ps1 => extras/PreDeploy.ps1 | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename PreDeploy.ps1 => extras/PreDeploy.ps1 (100%) diff --git a/angularDocs.nuspec b/angularDocs.nuspec index f9ff5e1cd27..7c98d20ac5c 100644 --- a/angularDocs.nuspec +++ b/angularDocs.nuspec @@ -11,7 +11,7 @@ - + diff --git a/PreDeploy.ps1 b/extras/PreDeploy.ps1 similarity index 100% rename from PreDeploy.ps1 rename to extras/PreDeploy.ps1