Skip to content

Commit 443dbe9

Browse files
authored
Update Umbraco.Forms.Integrations.Crm.Hubspot.targets
1 parent bb3bb46 commit 443dbe9

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed
Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
11
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2-
32
<PropertyGroup>
4-
<HubspotPropertyEditorFiles>$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoForms.Integrations\Crm\Hubspot\**\*.*</HubspotPropertyEditorFiles>
3+
<HubspotPropertyEditorFilesPath>
4+
$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoForms.Integrations\Crm\Hubspot\**\*.*
5+
</HubspotPropertyEditorFilesPath>
56
</PropertyGroup>
6-
77
<Target Name="CopyHubspotPropertyEditorAssets" BeforeTargets="Build">
88
<ItemGroup>
9-
<HubspotPropertyEditorFiles Include="$(HubspotPropertyEditorFiles)" />
9+
<HubspotPropertyEditorFiles Include="$(HubspotPropertyEditorFilesPath)" />
1010
</ItemGroup>
11-
<Message Text="Copying Hubspot Property Editor files: $(HubspotPropertyEditorFiles) - #@(HubspotPropertyEditorFiles->Count()) files" Importance="high" />
12-
<Copy
13-
SourceFiles="@(HubspotPropertyEditorFiles)"
14-
DestinationFiles="@(HubspotPropertyEditorFiles->'$(MSBuildProjectDirectory)\App_Plugins\UmbracoForms.Integrations\Crm\Hubspot\%(RecursiveDir)%(Filename)%(Extension)')"
15-
SkipUnchangedFiles="true" />
11+
<Message
12+
Text="Copying Hubspot Property Editor files: $(HubspotPropertyEditorFilesPath) - #@(HubspotPropertyEditorFiles->Count()) files"
13+
Importance="high" />
14+
<Copy SourceFiles="@(HubspotPropertyEditorFiles)"
15+
DestinationFiles="@(HubspotPropertyEditorFiles->'$(MSBuildProjectDirectory)\App_Plugins\UmbracoForms.Integrations\Crm\Hubspot\%(RecursiveDir)%(Filename)%(Extension)')"
16+
SkipUnchangedFiles="true" />
1617

1718
</Target>
1819

1920
<Target Name="ClearHubspotPropertyEditorAssets" BeforeTargets="Clean">
2021
<ItemGroup>
21-
<HubspotPropertyEditorDir Include="$(MSBuildProjectDirectory)\App_Plugins\UmbracoForms.Integrations\Crm\Hubspot\" />
22+
<HubspotPropertyEditorDir
23+
Include="$(MSBuildProjectDirectory)\App_Plugins\UmbracoForms\Crm\Hubspot\" />
2224
</ItemGroup>
23-
<Message Text="Clear Hubspot Property Editor data" Importance="high" />
25+
<Message Text="Clear old Hubspot Property Editor data" Importance="high" />
2426
<RemoveDir Directories="@(HubspotPropertyEditorDir)" />
2527
</Target>
2628

27-
</Project>
29+
</Project>

0 commit comments

Comments
 (0)