Skip to content

Commit 34772f1

Browse files
committed
Copy icon
1 parent d2f6261 commit 34772f1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/Umbraco.Cms.Integrations.Crm.ActiveCampaign/build/Umbraco.Cms.Integrations.Crm.ActiveCampaign.targets

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,23 @@
33
<ActiveCampaignPropertyEditorFilesPath>
44
$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\Crm\ActiveCampaign\**\*.*
55
</ActiveCampaignPropertyEditorFilesPath>
6+
<ActiveCampaignPropertyEditorIconPath>
7+
$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\backoffice\icons\icon-activecampaign.svg
8+
</ActiveCampaignPropertyEditorIconPath>
69
</PropertyGroup>
10+
11+
<Target Name="CopyActiveCampaignPropertyEditorIcon" BeforeTargets="Build">
12+
<ItemGroup>
13+
<ActiveCampaignPropertyEditorIcon Include="$(ActiveCampaignPropertyEditorIconPath)" />
14+
</ItemGroup>
15+
<Message
16+
Text="Copying ActiveCampaign icon"
17+
Importance="high" />
18+
<Copy SourceFiles="@(ActiveCampaignPropertyEditorIconPath)"
19+
DestinationFiles="@(ActiveCampaignPropertyEditorFiles->'$(MSBuildProjectDirectory)\App_Plugins\UmbracoCms.Integrations\backoffice\icons\')"
20+
SkipUnchangedFiles="true" />
21+
</Target>
22+
723
<Target Name="CopyActiveCampaignPropertyEditorAssets" BeforeTargets="Build">
824
<ItemGroup>
925
<ActiveCampaignPropertyEditorFiles Include="$(ActiveCampaignPropertyEditorFilesPath)" />

0 commit comments

Comments
 (0)