mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
more streamlining of linux build process
This commit is contained in:
parent
2b82c2f36a
commit
5d1489c7c5
@ -67,8 +67,8 @@
|
|||||||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
||||||
<Exec Condition=" '$(OS)' == 'Windows_NT'" Command="if not exist "$(ProjectDir)..\ObservatoryFramework\bin\Release\net5.0\ObservatoryFramework.dll" dotnet build "$(ProjectDir)..\ObservatoryFramework\ObservatoryFramework.csproj" -c Release" />
|
<Exec Condition=" '$(OS)' == 'Windows_NT'" Command="if not exist "$(ProjectDir)..\ObservatoryFramework\bin\Release\net5.0\ObservatoryFramework.dll" dotnet build "$(ProjectDir)..\ObservatoryFramework\ObservatoryFramework.csproj" -c Release" />
|
||||||
<Exec Condition=" '$(OS)' == 'Windows_NT'" Command="if not exist "$(OutDir)plugins\ObservatoryExplorer.dll" dotnet build "$(ProjectDir)..\ObservatoryExplorer\ObservatoryExplorer.csproj" -c $(ConfigurationName)" />
|
<Exec Condition=" '$(OS)' == 'Windows_NT'" Command="if not exist "$(OutDir)plugins\ObservatoryExplorer.dll" dotnet build "$(ProjectDir)..\ObservatoryExplorer\ObservatoryExplorer.csproj" -c $(ConfigurationName)" />
|
||||||
<Exec Condition=" '$(OS)' != 'Windows_NT'" Command="[ ! -e "$(ProjectDir)../ObservatoryFramework/bin/Release/net5.0/ObservatoryFramework.dll" ] && dotnet build "$(ProjectDir)../ObservatoryFramework/ObservatoryFramework.csproj" -c Release" />
|
<Exec Condition=" '$(OS)' != 'Windows_NT'" Command="[ ! -e "$(ProjectDir)../ObservatoryFramework/bin/Release/net5.0/ObservatoryFramework.dll" ] && dotnet build "$(ProjectDir)../ObservatoryFramework/ObservatoryFramework.csproj" -c Release || echo No build necessary" />
|
||||||
<Exec Condition=" '$(OS)' != 'Windows_NT'" Command="[ ! -e "$(OutDir)plugins/ObservatoryExplorer.dll" ] && dotnet build "$(ProjectDir)../ObservatoryExplorer/ObservatoryExplorer.csproj" -c $(ConfigurationName)" />
|
<Exec Condition=" '$(OS)' != 'Windows_NT'" Command="[ ! -e "$(ProjectDir)$(OutDir)plugins/ObservatoryExplorer.dll" ] && dotnet build "$(ProjectDir)../ObservatoryExplorer/ObservatoryExplorer.csproj" -c $(ConfigurationName) || echo No build necessary" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
<Exec Condition=" '$(OS)' == 'Windows_NT' " Command="xcopy "$(TargetDir)NLua.dll" "$(ProjectDir)..\ObservatoryCore\$(OutDir)plugins\deps\" /y" />
|
<Exec Condition=" '$(OS)' == 'Windows_NT' " Command="xcopy "$(TargetDir)NLua.dll" "$(ProjectDir)..\ObservatoryCore\$(OutDir)plugins\deps\" /y" />
|
||||||
<Exec Condition=" '$(OS)' == 'Windows_NT' " Command="xcopy "$(TargetDir)KeraLua.dll" "$(ProjectDir)..\ObservatoryCore\$(OutDir)plugins\deps\" /y" />
|
<Exec Condition=" '$(OS)' == 'Windows_NT' " Command="xcopy "$(TargetDir)KeraLua.dll" "$(ProjectDir)..\ObservatoryCore\$(OutDir)plugins\deps\" /y" />
|
||||||
<Exec Condition=" '$(OS)' == 'Windows_NT' " Command="xcopy "$(TargetDir)runtimes\win-x64\native\lua54.dll" "$(ProjectDir)..\ObservatoryCore\$(OutDir)plugins\deps\" /y" />
|
<Exec Condition=" '$(OS)' == 'Windows_NT' " Command="xcopy "$(TargetDir)runtimes\win-x64\native\lua54.dll" "$(ProjectDir)..\ObservatoryCore\$(OutDir)plugins\deps\" /y" />
|
||||||
<Exec Condition=" '$(OS)' != 'Windows_NT' " Command="[ ! -d "$(ProjectDir)../ObservatoryCore/$(OutDir)plugins/deps" ] && mkdir -p "$(ProjectDir)../ObservatoryCore/$(OutDir)plugins/deps"" />
|
<Exec Condition=" '$(OS)' != 'Windows_NT' " Command="[ ! -d "$(ProjectDir)../ObservatoryCore/$(OutDir)plugins/deps" ] && mkdir -p "$(ProjectDir)../ObservatoryCore/$(OutDir)plugins/deps" || echo Directory already exists" />
|
||||||
<Exec Condition=" '$(OS)' != 'Windows_NT' " Command="cp "$(TargetPath)" "$(ProjectDir)../ObservatoryCore/$(OutDir)plugins/" -f" />
|
<Exec Condition=" '$(OS)' != 'Windows_NT' " Command="cp "$(TargetPath)" "$(ProjectDir)../ObservatoryCore/$(OutDir)plugins/" -f" />
|
||||||
<Exec Condition=" '$(OS)' != 'Windows_NT' " Command="cp "$(TargetDir)NLua.dll" "$(ProjectDir)../ObservatoryCore/$(OutDir)plugins/deps/" -f" />
|
<Exec Condition=" '$(OS)' != 'Windows_NT' " Command="cp "$(TargetDir)NLua.dll" "$(ProjectDir)../ObservatoryCore/$(OutDir)plugins/deps/" -f" />
|
||||||
<Exec Condition=" '$(OS)' != 'Windows_NT' " Command="cp "$(TargetDir)KeraLua.dll" "$(ProjectDir)../ObservatoryCore/$(OutDir)plugins/deps/" -f" />
|
<Exec Condition=" '$(OS)' != 'Windows_NT' " Command="cp "$(TargetDir)KeraLua.dll" "$(ProjectDir)../ObservatoryCore/$(OutDir)plugins/deps/" -f" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user