Skip to content

Commit cc46a8e

Browse files
committed
Remove the Clean target; it does weird things on Rebuild
1 parent 0027b39 commit cc46a8e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/GovUk.Frontend.AspNetCore/Package/build/GovUk.Frontend.AspNetCore.targets

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
</ItemGroup>
1515
</Target>
1616

17-
<Target Name="CleanGovUkFrontendNpmPackage" BeforeTargets="Clean" Condition="'$(RestoreGovUkFrontendNpmPackage)' == 'true'">
18-
<RemoveDir Directories="$(GovUkFrontendNpmPackageLocation)" />
19-
<RemoveDir Directories="wwwroot\assets" Condition="'$(CopyGovUkFrontendAssetsToWebRoot)' == 'true'" />
20-
</Target>
21-
2217
<Target Name="RestoreGovUkFrontendNpmPackage" Condition="'$(RestoreGovUkFrontendNpmPackage)' == 'true'">
2318
<ItemGroup>
2419
<_PackageFiles Include="$(MSBuildThisFileDirectory)..\content\govuk-frontend\**\*" />

0 commit comments

Comments
 (0)