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:
Oliver Brakmann
2015-05-02 16:28:27 +02:00
parent 14886bc3f7
commit f251813f89
21 changed files with 154 additions and 117 deletions

View File

@@ -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."
}