20 lines
846 B
Plaintext
20 lines
846 B
Plaintext
<Project>
|
|
<PropertyGroup>
|
|
<DvInstallDir>D:\Programs\Derail Valley</DvInstallDir>
|
|
<ReferencePath>
|
|
$(DvInstallDir)\DerailValley_Data\Managed\;
|
|
$(DvInstallDir)\DerailValley_Data\Managed\UnityModManager\;
|
|
</ReferencePath>
|
|
<AssemblySearchPaths>$(AssemblySearchPaths);$(ReferencePath);</AssemblySearchPaths>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<!-- Copy to build folder -->
|
|
<Copy SourceFiles="$(TargetPath)" DestinationFolder="build/" />
|
|
|
|
<!-- Package after Release build -->
|
|
<Exec Condition="'$(OS)' == 'Windows_NT'" Command="powershell -executionpolicy bypass .\package.ps1 -NoArchive -OutputDirectory '$(DvInstallDir)\Mods'" />
|
|
<!-- Linux -->
|
|
<Exec Condition="'$(OS)' != 'Windows_NT'" Command="pwsh -Command "(package.ps1)"" />
|
|
</Target>
|
|
</Project> |