dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

pack.bat (733B)


      1 @echo off
      2 
      3 cd %APPVEYOR_BUILD_FOLDER%
      4 
      5 REM Create a writeable PACKDIR
      6 mkdir %APPVEYOR_BUILD_FOLDER%\pack
      7 set PACKDIR=%APPVEYOR_BUILD_FOLDER%\pack
      8 
      9 IF %COMPILER%==msys2 (
     10   @echo on
     11   SET "PATH=C:\%MSYS2_DIR%\%MSYSTEM%\bin;C:\%MSYS2_DIR%\usr\bin;C:\%MSYS2_DIR%\home\appveyor\.cask\bin;%PATH%"
     12 
     13   REM Copy epdfinfo.exe and all dependencies
     14   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/"
     15 
     16   REM Copy openssl dlls to pack
     17   copy C:\%MSYS2_DIR%\%MSYSTEM%\bin\libcrypto*.dll %PACKDIR%\
     18   copy C:\%MSYS2_DIR%\%MSYSTEM%\bin\libssl*.dll %PACKDIR%\
     19 
     20   REM Package epdfinfo.exe and all dependencies
     21   7z a epdfinfo.zip %PACKDIR%\*.*
     22 )