aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/rpc_fixture.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-04-07 03:54:22 +0200
committerGitHub <noreply@github.com>2019-04-07 03:54:22 +0200
commita7a56293aad9427720fc72b86220dd65a79f6778 (patch)
treedee19226d8db0dae4047000f221ad29449766fb7 /test/functional/api/rpc_fixture.lua
parent805b5f2e1ec074648e2142c1eaab1d2c089aa58d (diff)
downloadrneovim-a7a56293aad9427720fc72b86220dd65a79f6778.tar.gz
rneovim-a7a56293aad9427720fc72b86220dd65a79f6778.tar.bz2
rneovim-a7a56293aad9427720fc72b86220dd65a79f6778.zip
CI/AppVeyor: per-compiler deps cache #9852
The deps cache does not work for MSVC builds because the MINGW builds ovewrite it. Cache saves 10+ minutes on the build.
Diffstat (limited to 'test/functional/api/rpc_fixture.lua')
-rw-r--r--test/functional/api/rpc_fixture.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/functional/api/rpc_fixture.lua b/test/functional/api/rpc_fixture.lua
index e885a525af..87f5a91115 100644
--- a/test/functional/api/rpc_fixture.lua
+++ b/test/functional/api/rpc_fixture.lua
@@ -1,7 +1,5 @@
-local deps_prefix = './.deps/usr'
-if os.getenv('DEPS_PREFIX') then
- deps_prefix = os.getenv('DEPS_PREFIX')
-end
+local deps_prefix = (os.getenv('DEPS_PREFIX') and os.getenv('DEPS_PREFIX')
+ or './.deps/usr')
package.path = deps_prefix .. '/share/lua/5.1/?.lua;' ..
deps_prefix .. '/share/lua/5.1/?/init.lua;' ..