aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-11-19 19:10:30 +0100
committerGitHub <noreply@github.com>2019-11-19 19:10:30 +0100
commit629ea19994d832a7de806e451941dd4904bcc5ed (patch)
tree400c193e8cbd2cd4bc7f4a24a649f306e0fc74fc /ci
parent1ff5b60cb96aea3b3f6ef9e2792c5797dfda72dc (diff)
downloadrneovim-629ea19994d832a7de806e451941dd4904bcc5ed.tar.gz
rneovim-629ea19994d832a7de806e451941dd4904bcc5ed.tar.bz2
rneovim-629ea19994d832a7de806e451941dd4904bcc5ed.zip
deps: upgrade bundled LuaRocks: 2.4.4 => 3.2.1 (#10292)
Changelog: https://github.com/luarocks/luarocks/compare/v2.4.4..v3.2.1#diff-4ac32a78649ca5bdd8e0ba38b7006a1e
Diffstat (limited to 'ci')
-rw-r--r--ci/build.ps15
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/build.ps1 b/ci/build.ps1
index 49fd61abf6..244b4766b2 100644
--- a/ci/build.ps1
+++ b/ci/build.ps1
@@ -114,6 +114,11 @@ if (-Not (Test-Path -PathType Leaf "$env:TREE_SITTER_DIR\bin\c.dll")) {
exit 1
}
+if ($compiler -eq 'MSVC') {
+ # Required for LuaRocks (https://github.com/luarocks/luarocks/issues/1039#issuecomment-507296940).
+ $env:VCINSTALLDIR = "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/"
+}
+
function convertToCmakeArgs($vars) {
return $vars.GetEnumerator() | foreach { "-D$($_.Key)=$($_.Value)" }
}