Skip to content

Commit b2a0a1e

Browse files
committed
Use UnityPackage/Artifacts directory
1 parent 9b1c36d commit b2a0a1e

File tree

5 files changed

+7
-12
lines changed

5 files changed

+7
-12
lines changed

src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@
272272
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
273273
<PropertyGroup>
274274
<PostBuildEvent>$(SolutionDir)tools\unity3d\pdb2mdb.exe $(TargetPath)
275-
</PostBuildEvent>
275+
COPY /Y $(TargetPath)* $(SolutionDir)src\UnityPackage\Assets\Artifacts\Editor
276+
COPY /Y $(ProjectDir)SpaceShipV2.bson $(SolutionDir)src\UnityPackage</PostBuildEvent>
276277
</PropertyGroup>
277278
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
278279
Other similar extension points exist, see Microsoft.Common.targets.

src/Newtonsoft.Json/Newtonsoft.Json.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
228228
<PropertyGroup>
229229
<PostBuildEvent>$(SolutionDir)tools\unity3d\pdb2mdb.exe $(TargetPath)
230-
</PostBuildEvent>
230+
COPY /Y $(TargetPath)* $(SolutionDir)src\UnityPackage\Assets\Artifacts</PostBuildEvent>
231231
</PropertyGroup>
232232
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
233233
Other similar extension points exist, see Microsoft.Common.targets.

src/UnityPackage/.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ sysinfo.txt
2525
*.unitypackage
2626

2727
# Artifacts generated when build
28-
Assets/Newtonsoft.Json.dll*
29-
Assets/Editor/Newtonsoft.Json.Tests.dll*
28+
Assets/Artifacts/Newtonsoft.Json.*
29+
Assets/Artifacts/Editor/Newtonsoft.Json.*
3030
SpaceShipV2.bson
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/UnityPackage/CopyFiles.bat

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

0 commit comments

Comments
 (0)