Skip to content

Instantly share code, notes, and snippets.

@tomek
Created August 26, 2013 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomek/6345568 to your computer and use it in GitHub Desktop.
Save tomek/6345568 to your computer and use it in GitHub Desktop.
@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