diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0b88ab8..090d9fd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,14 +26,14 @@ variables: .LuaCompile32: &LuaCompile32 - | Set-Alias lua53 LuaDll_32\luac53 - $File2Copy = Get-ChildItem("*.lua") - ForEach ($File in $File2Compile) { + $FileList = Get-ChildItem("*.lua") + ForEach ($File in $FileList) { $FileName = Split-Path $File -leaf Copy-Item -Path $FileName -Destination 32\$FileName echo "Copy-Item -Path $FileName -Destination 32\$FileName" } - $File2Compile = Get-ChildItem("LuaLibs\*.lua") - ForEach ($File in $File2Compile) { + $FileList = Get-ChildItem("LuaLibs\*.lua") + ForEach ($File in $FileList) { $FileName = Split-Path $File -leaf lua53 -o 32\LuaLibs\$FileName LuaLibs\$FileName echo "lua53 -o 32\LuaLibs\$FileName LuaLibs\$FileName" @@ -43,14 +43,14 @@ variables: .LuaCompile64: &LuaCompile64 - | Set-Alias lua53 LuaDll_64\luac53 - $File2Compile = Get-ChildItem("*.lua") - ForEach ($File in $File2Compile) { + $FileList = Get-ChildItem("*.lua") + ForEach ($File in $FileList) { $FileName = Split-Path $File -leaf Copy-Item -Path $FileName -Destination 64\$FileName echo "Copy-Item -Path $FileName -Destination 64\$FileName" } - $File2Compile = Get-ChildItem("LuaLibs\*.lua") - ForEach ($File in $File2Compile) { + $FileList = Get-ChildItem("LuaLibs\*.lua") + ForEach ($File in $FileList) { $FileName = Split-Path $File -leaf lua53 -o 64\LuaLibs\$FileName LuaLibs\$FileName echo "lua53 -o 64\LuaLibs\$FileName LuaLibs\$FileName"