Skip to content

Commit 931d2ef

Browse files
committed
Merge branch 'master' into develop
2 parents 2197a3d + c16dd52 commit 931d2ef

19 files changed

+113
-416
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,3 +339,6 @@ ASALocalRun/
339339

340340
# BeatPulse healthcheck temp database
341341
healthchecksdb
342+
343+
# Ignore the zip generated when building the project
344+
/DoubleJay.Epi.ConfigurableColorPicker/DoubleJay.Epi.ConfigurableColorPicker.zip

.nuget/NuGet.targets

Lines changed: 0 additions & 138 deletions
This file was deleted.

.nuget/nuget.exe

-5.42 MB
Binary file not shown.

Build-Package.ps1

Lines changed: 0 additions & 4 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## How to pack
2+
3+
Open a terminal, CD to this directory and run the following command:
4+
5+
```
6+
dotnet pack
7+
```

DoubleJay.Epi.ConfigurableColorPicker.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 15
4-
VisualStudioVersion = 15.0.28307.168
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.1.32414.318
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DoubleJay.Epi.ConfigurableColorPicker", "DoubleJay.Epi.ConfigurableColorPicker\DoubleJay.Epi.ConfigurableColorPicker.csproj", "{BD378E34-49F8-44C4-A8BE-D01193F8AF6F}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DoubleJay.Epi.ConfigurableColorPicker", "DoubleJay.Epi.ConfigurableColorPicker\DoubleJay.Epi.ConfigurableColorPicker.csproj", "{BD378E34-49F8-44C4-A8BE-D01193F8AF6F}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<ClientResources Include="$(ProjectDir)ClientResources\**\*"/>
5+
</ItemGroup>
6+
<PropertyGroup>
7+
<TmpOutDir>$([System.IO.Path]::Combine($(ProjectDir), 'tmp'))</TmpOutDir>
8+
</PropertyGroup>
9+
<ItemGroup>
10+
<Content Include="$(MSBuildProjectName).zip">
11+
<Pack>true</Pack>
12+
<PackagePath>contentFiles\any\any\modules\_protected\$(MSBuildProjectName)</PackagePath>
13+
<BuildAction>None</BuildAction>
14+
<PackageCopyToOutput>true</PackageCopyToOutput>
15+
</Content>
16+
<Content Include="msbuild\CopyZipFiles.targets" >
17+
<Pack>true</Pack>
18+
<PackagePath>build\$(MSBuildProjectName).targets</PackagePath>
19+
</Content>
20+
<None Include="..\LICENSE" Pack="true" PackagePath=""/>
21+
</ItemGroup>
22+
</Project>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Target Name="CreateColorPickerZip" BeforeTargets="Build">
4+
<Copy SourceFiles="$(ProjectDir)module.config" DestinationFolder="$(TmpOutDir)\content"/>
5+
<Copy SourceFiles="@(ClientResources)" DestinationFiles="@(ClientResources -> '$(TmpOutDir)\content\$(PackageVersion)\ClientResources\%(RecursiveDir)%(Filename)%(Extension)')"/>
6+
7+
<!-- Update the module config with the version information -->
8+
<XmlPoke XmlInputPath="$(TmpOutDir)\content\module.config" Query="/module/@clientResourceRelativePath" Value="$(PackageVersion)"/>
9+
</Target>
10+
<Target Name="ZipClientResources" BeforeTargets="Build" AfterTargets="CreateColorPickerZip" DependsOnTargets="CreateColorPickerZip">
11+
<ZipDirectory SourceDirectory="$(TmpOutDir)\content" DestinationFile="$(ProjectDir)$(MSBuildProjectName).zip" Overwrite="true"/>
12+
</Target>
13+
<Target Name="CleanupTmpOutDir" BeforeTargets="Build" AfterTargets="ZipClientResources" DependsOnTargets="ZipClientResources">
14+
<RemoveDir Directories="$(TmpOutDir)"/>
15+
</Target>
16+
</Project>

0 commit comments

Comments
 (0)