diff options
Diffstat (limited to 'ci/appveyor/pack.bat')
| -rw-r--r-- | ci/appveyor/pack.bat | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ci/appveyor/pack.bat b/ci/appveyor/pack.bat index 7077f26..acee147 100644 --- a/ci/appveyor/pack.bat +++ b/ci/appveyor/pack.bat @@ -2,7 +2,7 @@ cd %APPVEYOR_BUILD_FOLDER% -REM Create a writeable TMPDIR +REM Create a writeable PACKDIR mkdir %APPVEYOR_BUILD_FOLDER%\pack set PACKDIR=%APPVEYOR_BUILD_FOLDER%\pack @@ -11,7 +11,11 @@ IF %COMPILER%==msys2 ( SET "PATH=C:\%MSYS2_DIR%\%MSYSTEM%\bin;C:\%MSYS2_DIR%\usr\bin;C:\%MSYS2_DIR%\home\appveyor\.cask\bin;%PATH%" REM Copy epdfinfo.exe and all dependencies - bash -lc "pushd /c/projects/pdf-tools; ldd server/epdfinfo.exe | grep mingw | cut -d' ' -f 3 | xargs -I {} cp {} ./pack/; cp server/epdfinfo.exe ./pack/; cp /mingw64/bin/*eay32.dll ./pack/" + bash -lc "pushd /c/projects/pdf-tools; ldd server/epdfinfo.exe | grep mingw | cut -d' ' -f 3 | xargs -I {} cp {} ./pack/; cp server/epdfinfo.exe ./pack/" + + REM Copy dlls to pack + cp %TMPDIR%\ssleay32.dll %PACKDIR%\ + cp %TMPDIR%\libeay32.dll %PACKDIR%\ REM Package epdfinfo.exe and all dependencies 7z a epdfinfo.zip %PACKDIR%\*.* |
