Skip to content

Commit 6e169bf

Browse files
committed
Package.xml and targets file
1 parent 98fffa3 commit 6e169bf

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
3+
<PropertyGroup>
4+
<EMerchantPayPropertyEditorFiles>$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoForms.Integrations\Commerce\eMerchantPay\**\*.*</EMerchantPayPropertyEditorFiles>
5+
</PropertyGroup>
6+
7+
<Target Name="CopyEMerchantPayPropertyEditorAssets" BeforeTargets="Build">
8+
<ItemGroup>
9+
<EMerchantPayPropertyEditorFiles Include="$(EMerchantPayPropertyEditorFiles)" />
10+
</ItemGroup>
11+
<Message Text="Copying eMerchantPay Property Editor files: $(EMerchantPayPropertyEditorFiles) - #@(EMerchantPayPropertyEditorFiles->Count()) files" Importance="high" />
12+
<Copy
13+
SourceFiles="@(EMerchantPayPropertyEditorFiles)"
14+
DestinationFiles="@(EMerchantPayPropertyEditorFiles->'$(MSBuildProjectDirectory)\App_Plugins\UmbracoForms.Integrations\Commerce\eMerchantPay\%(RecursiveDir)%(Filename)%(Extension)')"
15+
SkipUnchangedFiles="true" />
16+
17+
</Target>
18+
19+
<Target Name="ClearEMerchantPayPropertyEditorAssets" BeforeTargets="Clean">
20+
<ItemGroup>
21+
<EMerchantPayPropertyEditorDir Include="$(MSBuildProjectDirectory)\App_Plugins\UmbracoForms.Integrations\Commerce\eMerchantPay\" />
22+
</ItemGroup>
23+
<Message Text="Clear eMerchantPay Property Editor data" Importance="high" />
24+
<RemoveDir Directories="@(EMerchantPayPropertyEditorDir)" />
25+
</Target>
26+
27+
</Project>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<umbPackage>
3+
<info>
4+
<package>
5+
<name>Umbraco.Forms.Integrations.Commerce.EMerchantPay</name>
6+
<version>1.0.0</version>
7+
<iconUrl></iconUrl>
8+
<licence url="https://opensource.org/licenses/MIT">MIT</licence>
9+
<url>https://github.com/umbraco/Umbraco.Forms.Integrations</url>
10+
<requirements type="strict">
11+
<major>8</major>
12+
<minor>5</minor>
13+
<patch>4</patch>
14+
</requirements>
15+
</package>
16+
<author>
17+
<name>Umbraco HQ</name>
18+
<website>https://github.com/umbraco/Umbraco.Forms.Integrations</website>
19+
</author>
20+
<contributors>
21+
<contributor>Adrian Cojocariu</contributor>
22+
</contributors>
23+
<readme><![CDATA[An extension for Umbraco Forms providing a custom workflow for handling payments through eMerchantPay gateway.]]></readme>
24+
</info>
25+
<files>
26+
<file path="bin/release/net472/Umbraco.Forms.Integrations.Commerce.EMerchantPay.dll" orgPath="bin/Umbraco.Forms.Integrations.Commerce.EMerchantPay.dll" />
27+
</files>
28+
</umbPackage>

0 commit comments

Comments
 (0)