Instantly share code, notes, and snippets.

Embed
What would you like to do?
@ECHO OFF
rem Path to your MSYS bin directory
SET MSYS=I:\MSYS\bin
SET PATH=%PATH%;%MSYS%
call "%VS110COMNTOOLS%vsvars32.bat"
SET x86=%1
SET x64=%1
IF /I "%1" == "x64" (
call "x64\bin\cpan.bat"
)
IF /I "%1" == "x86" (
call "Win32\bin\cpan.bat"
)
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment