1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 00:02:29 +01:00
imapsync/examples/install_modules.bat
Nick Bebout 459f6a81cb 1.592
2014-05-29 20:56:21 -05:00

42 lines
1.0 KiB
Batchfile

REM $Id: install_modules.bat,v 1.12 2014/05/22 10:16:12 gilles Exp gilles $
@ECHO OFF
ECHO Installing Perl modules for imapsync
REM CD /D %~dp0
perl -v
IF ERRORLEVEL 1 ECHO Perl needed. Install Strawberry Perl. Get it at http://strawberryperl.com/ ^
&& EXIT /B
REM perl is there
FOR %%M in ( Mail::IMAPClient ^
File::Copy::Recursive ^
PAR::Packer ^
Test::Pod ^
IO::Socket::IP ^
IO::Socket::INET ^
IO::Socket::INET6 ^
Net::SSLeay ^
Crypt::SSLeay ^
Net::SSL IO::Socket::SSL ^
Digest::MD5 ^
Digest::HMAC_MD5 ^
Data::Uniqid URI::Escape ^
Authen::NTLM ^
Getopt::ArgvFile ^
Module::ScanDeps ^
IO::Tee ^
) DO ECHO Updating %%M ^
& perl -MCPAN -e "install %%M"
REM & perl -m%%M -e "" || perl -MCPAN -e "install %%M"
ECHO Perl modules for imapsync installed
REM PAUSE