mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-03 17:38:30 +00:00
clean before building
This commit is contained in:
parent
16f0db3e8b
commit
8839c6fa0e
@ -9,8 +9,15 @@
|
||||
<NoWarn>CS1998;CS0649</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="clean before building" BeforeTargets="PreBuildEvent">
|
||||
<Exec Command="del /f /q "$(OutputPath)\*.dll"" />
|
||||
<Exec Command="del /f /q "$(OutputPath)\*.exe"" />
|
||||
<Exec Command="del /f /q "$(OutputPath)\*.pdb"" />
|
||||
<Exec Command="del /f /q "$(OutputPath)\AssetBundles\*"" />
|
||||
</Target>
|
||||
|
||||
<Target Name="remove dumb files" AfterTargets="PostBuildEvent">
|
||||
<Exec Command="del /f "$(OutputPath)\*.exe.config"" />
|
||||
<Exec Command="del /f /q "$(OutputPath)\*.exe.config"" />
|
||||
</Target>
|
||||
<Target Name="weave qsb" AfterTargets="PostBuildEvent">
|
||||
<Exec Command=""..\MirrorWeaver\bin\$(Configuration)\MirrorWeaver" "$(TargetPath)" ..\GameDlls" />
|
||||
@ -21,8 +28,8 @@
|
||||
<UnityDllsDir>$(UnityAssetsDir)\Dlls</UnityDllsDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<Exec Command="del /f "$(UnityDllsDir)\*.dll"" />
|
||||
<Exec Command="del /f "$(UnityDllsDir)\*.exe"" />
|
||||
<Exec Command="del /f /q "$(UnityDllsDir)\*.dll"" />
|
||||
<Exec Command="del /f /q "$(UnityDllsDir)\*.exe"" />
|
||||
|
||||
<Exec Command="copy /y "$(OutputPath)\*.dll" "$(UnityDllsDir)"" />
|
||||
<Exec Command="copy /y "$(OutputPath)\*.exe" "$(UnityDllsDir)"" />
|
||||
|
Loading…
Reference in New Issue
Block a user