summaryrefslogtreecommitdiff
path: root/appveyor
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-05-11 16:18:03 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-05-11 16:18:03 +0200
commit65498916021473ad06c0b584cb1c90eb10ad0f77 (patch)
tree585f0ecbbcd26708afb0480a776e159b86e9cba0 /appveyor
parent5d93eab6207614d44378f0034656cf382963244b (diff)
downloadphp-git-65498916021473ad06c0b584cb1c90eb10ad0f77.tar.gz
Update AppVeyor for enchant-2
Cf. <https://github.com/winlibs/enchant/commit/df5a4586e09d67bf2c208c7dfd0517657d06910e>
Diffstat (limited to 'appveyor')
-rw-r--r--appveyor/test_task.bat10
1 files changed, 4 insertions, 6 deletions
diff --git a/appveyor/test_task.bat b/appveyor/test_task.bat
index b4eb02740e..aede8f4a04 100644
--- a/appveyor/test_task.bat
+++ b/appveyor/test_task.bat
@@ -66,11 +66,9 @@ rem prepare for Opcache
if "%OPCACHE%" equ "1" set OPCACHE_OPTS=-d opcache.enable=1 -d opcache.enable_cli=1 -d opcache.protect_memory=1 -d opcache.jit_buffer_size=16M
rem prepare for enchant
-mkdir c:\enchant_plugins
+mkdir C:\usr\local\lib\enchant-2
if %errorlevel% neq 0 exit /b 3
-copy %DEPS_DIR%\bin\libenchant_ispell.dll c:\enchant_plugins
-if %errorlevel% neq 0 exit /b 3
-copy %DEPS_DIR%\bin\libenchant_myspell.dll c:\enchant_plugins
+copy %DEPS_DIR%\bin\libenchant2_hunspell.dll C:\usr\local\lib\enchant-2
if %errorlevel% neq 0 exit /b 3
reg add HKEY_CURRENT_USER\SOFTWARE\Enchant\Config /v Module_Dir /t REG_SZ /d c:\enchant_plugins
if %errorlevel% neq 0 exit /b 3
@@ -88,8 +86,8 @@ if not exist "%PHP_BUILD_CACHE_ENCHANT_DICT_DIR%\en_US.aff" (
del /q dict.zip
popd
)
-mkdir %USERPROFILE%\enchant\myspell
-copy %PHP_BUILD_CACHE_ENCHANT_DICT_DIR%\* %USERPROFILE%\enchant\myspell
+mkdir %LOCALAPPDATA%\enchant\hunspell
+copy %PHP_BUILD_CACHE_ENCHANT_DICT_DIR%\* %LOCALAPPDATA%\enchant\hunspell
mkdir c:\tests_tmp