Skip to content

Commit

Permalink
Merge branch 'build_all_dlls' into MUSHclient
Browse files Browse the repository at this point in the history
  • Loading branch information
fiendish committed Dec 12, 2017
2 parents 6040490 + d7fc4ed commit 9ff05c2
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,26 @@ environment:
install:
- ps: >-
# build LuaJIT
function Invoke-CmdScript {
param(
[String] $scriptName
)
$cmdLine = """$scriptName"" $args & set"
& $Env:SystemRoot\system32\cmd.exe /c $cmdLine |
select-string '^([^=]*)=(.*)$' | foreach-object {
$varName = $_.Matches[0].Groups[1].Value
$varValue = $_.Matches[0].Groups[2].Value
set-item Env:$varName $varValue
}
}
git clone -b v2.1 --single-branch --depth=1 https://github.com/LuaJIT/LuaJIT.git C:\luajit
cd c:\luajit\src
pushd c:\luajit\src
(Get-Content msvcbuild.bat) | ForEach-Object { $_ -replace " /MD " , " /MT " } | Set-Content msvcbuild.bat
'"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86'
Invoke-CmdScript "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
msvcbuild.bat
Expand All @@ -31,7 +43,9 @@ install:
git clone --depth=1 https://github.com/zhaozg/lua-openssl.git c:\lua-openssl
cd c:\lua-openssl
popd
pushd c:\lua-openssl
(Get-Content makefile.win) | ForEach-Object { $_ -replace " /MD " , " /MT " } | Set-Content makefile.win
Expand All @@ -51,7 +65,9 @@ install:
git clone https://github.com/moteus/lua-llthreads2.git C:\llthreads2
cd C:\
popd
pushd C:\
cl /nologo /MT /O2 -c -Fol52util.obj -Ic:\luajit\src c:\llthreads2\src\l52util.c -DLLTHREAD_MODULE_NAME=llthreads2
Expand All @@ -63,6 +79,10 @@ install:
# ps: Get-ChildItem c:\*.dll | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
popd
pushd C:\projects\aardwolfclientpackage
Move-Item C:\*.dll MUSHclient -force
# make the installers and zips
Expand Down

0 comments on commit 9ff05c2

Please sign in to comment.