PS: Wipe Cpp folder before re-building IL2CPP application

This commit is contained in:
Katy Coe
2020-08-20 05:09:20 +02:00
parent 0d2f5b71c2
commit c884d2a770

View File

@@ -1,4 +1,4 @@
# Copyright 2019-2020 Katy Coe - http://www.hearthcode.org - http://www.djkaty.com
# Copyright 2019-2020 Katy Coe - http://www.djkaty.com - https://github.com/djkaty
# All rights reserved.
# Compile all of the test items in TestSources via IL2CPP to produce the binaries necessary to run the tests
@@ -120,6 +120,7 @@ gci $asm -filter $assemblies | % {
$name = "GameAssembly-$($_.BaseName)-x86"
echo "Running il2cpp for test assembly $name (Windows/x86)..."
md $bin/$name 2>&1 >$null
rm -Force -Recurse $cpp/$name
& $il2cpp $arg '--platform=WindowsDesktop', '--architecture=x86', `
"--assembly=$asm/$_,$mscorlib", `
"--outputpath=$bin/$name/$name.dll", `
@@ -136,6 +137,7 @@ gci $asm -filter $assemblies | % {
$name = "GameAssembly-$($_.BaseName)-x64"
echo "Running il2cpp for test assembly $name (Windows/x64)..."
md $bin/$name 2>&1 >$null
rm -Force -Recurse $cpp/$name
& $il2cpp $arg '--platform=WindowsDesktop', '--architecture=x64', `
"--assembly=$asm/$_,$mscorlib", `
"--outputpath=$bin/$name/$name.dll", `
@@ -151,6 +153,7 @@ gci $asm -filter $assemblies | % {
$name = "$($_.BaseName)-ARMv7"
echo "Running il2cpp for test assembly $name (Android/ARMv7)..."
md $bin/$name 2>&1 >$null
rm -Force -Recurse $cpp/$name
& $il2cpp $arg '--platform=Android', '--architecture=ARMv7', `
"--assembly=$asm/$_,$mscorlib", `
"--outputpath=$bin/$name/$name.so", `
@@ -169,6 +172,7 @@ gci $asm -filter $assemblies | % {
$name = "$($_.BaseName)-ARM64"
echo "Running il2cpp for test assembly $name (Android/ARM64)..."
md $bin/$name 2>&1 >$null
rm -Force -Recurse $cpp/$name
& $il2cpp $arg '--platform=Android', '--architecture=ARM64', `
"--assembly=$asm/$_,$mscorlib", `
"--outputpath=$bin/$name/$name.so", `