Skip to content

Commit 6549891

Browse files
committed
Update AppVeyor for enchant-2
Cf. <winlibs/enchant@df5a458>
1 parent 5d93eab commit 6549891

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

appveyor/test_task.bat

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,9 @@ rem prepare for Opcache
6666
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
6767

6868
rem prepare for enchant
69-
mkdir c:\enchant_plugins
69+
mkdir C:\usr\local\lib\enchant-2
7070
if %errorlevel% neq 0 exit /b 3
71-
copy %DEPS_DIR%\bin\libenchant_ispell.dll c:\enchant_plugins
72-
if %errorlevel% neq 0 exit /b 3
73-
copy %DEPS_DIR%\bin\libenchant_myspell.dll c:\enchant_plugins
71+
copy %DEPS_DIR%\bin\libenchant2_hunspell.dll C:\usr\local\lib\enchant-2
7472
if %errorlevel% neq 0 exit /b 3
7573
reg add HKEY_CURRENT_USER\SOFTWARE\Enchant\Config /v Module_Dir /t REG_SZ /d c:\enchant_plugins
7674
if %errorlevel% neq 0 exit /b 3
@@ -88,8 +86,8 @@ if not exist "%PHP_BUILD_CACHE_ENCHANT_DICT_DIR%\en_US.aff" (
8886
del /q dict.zip
8987
popd
9088
)
91-
mkdir %USERPROFILE%\enchant\myspell
92-
copy %PHP_BUILD_CACHE_ENCHANT_DICT_DIR%\* %USERPROFILE%\enchant\myspell
89+
mkdir %LOCALAPPDATA%\enchant\hunspell
90+
copy %PHP_BUILD_CACHE_ENCHANT_DICT_DIR%\* %LOCALAPPDATA%\enchant\hunspell
9391

9492
mkdir c:\tests_tmp
9593

0 commit comments

Comments
 (0)