Keep downloaded files in a separate directory
As a side effect, this re-enables building the Windows installer on Linux hosts.
This commit is contained in:
9
make.ps1
9
make.ps1
@@ -74,10 +74,9 @@ elseif ($command -eq "clean")
|
||||
rm *.dll
|
||||
rm *.config
|
||||
rm mods/*/*.dll
|
||||
rm thirdparty/*.dll
|
||||
if(Test-Path -Path thirdparty/windows/)
|
||||
if (Test-Path -Path thirdparty/download/)
|
||||
{
|
||||
rmdir thirdparty/windows/ -Recurse
|
||||
rmdir thirdparty/download -Recurse -Force
|
||||
}
|
||||
echo "Clean complete."
|
||||
}
|
||||
@@ -116,8 +115,8 @@ elseif ($command -eq "dependencies")
|
||||
{
|
||||
cd thirdparty
|
||||
./fetch-thirdparty-deps.ps1
|
||||
cp *.dll ..
|
||||
cp windows/*.dll ..
|
||||
cp download/*.dll ..
|
||||
cp download/windows/*.dll ..
|
||||
cd ..
|
||||
echo "Dependencies copied."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user