Skip to content

Commit caf723f

Browse files
Build script changes
1 parent c8b2170 commit caf723f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Maverick.PCF.Builder/Maverick.PCF.Builder.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,14 @@
313313
<ItemGroup />
314314
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
315315
<PropertyGroup>
316-
<PostBuildEvent>IF $(ConfigurationName) == Debug (
316+
<PostBuildEvent>IF NOT EXIST "Templates" mkdir "Templates"
317+
xcopy "sampleLocalization.resx" "Templates" /q/y
318+
xcopy "sampleManifestDataset.xml" "Templates" /q/y
319+
xcopy "sampleManifestField.xml" "Templates" /q/y
320+
xcopy "sampleStyle.css" "Templates" /q/y
321+
xcopy "samplePowerUp.png" "Templates" /q/y
322+
323+
IF $(ConfigurationName) == Debug (
317324
IF NOT EXIST Plugins mkdir Plugins
318325
xcopy "$(TargetDir)$(TargetFileName)" "$(TargetDir)Plugins\" /Y
319326
xcopy "$(TargetDir)$(TargetName).pdb" "$(TargetDir)Plugins\" /Y
@@ -323,14 +330,7 @@
323330
IF NOT EXIST "Plugins\Maverick.PCF.Builder\CoreTools" mkdir "Plugins\Maverick.PCF.Builder\CoreTools"
324331
xcopy "CoreTools" "Plugins\Maverick.PCF.Builder\CoreTools" /q/y
325332

326-
IF NOT EXIST "Templates" mkdir "Templates"
327333
IF NOT EXIST "Plugins\Maverick.PCF.Builder\Templates" mkdir "Plugins\Maverick.PCF.Builder\Templates"
328-
xcopy "sampleLocalization.resx" "Templates" /q/y
329-
xcopy "sampleManifestDataset.xml" "Templates" /q/y
330-
xcopy "sampleManifestField.xml" "Templates" /q/y
331-
xcopy "sampleStyle.css" "Templates" /q/y
332-
xcopy "samplePowerUp.png" "Templates" /q/y
333-
334334
xcopy "Templates" "Plugins\Maverick.PCF.Builder\Templates" /q/y
335335
)</PostBuildEvent>
336336
</PropertyGroup>

0 commit comments

Comments
 (0)