Created
March 15, 2011 12:51
-
-
Save watagashi/870677 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
set target=vimexe | |
set vim=vim | |
if exist %target% ( | |
echo %target% is already exist. | |
goto end | |
) | |
if exist %target%.zip ( | |
echo %target%.zip is already exist. | |
goto end | |
) | |
xcopy %vim%\*.exe %target%\ /s | |
xcopy %vim%\*.dll %target%\ /s | |
xcopy %vim%\*.vim %target%\ /s | |
xcopy %vim%\*vimrc %target%\ /s | |
xcopy %vim%\runtime %target%\runtime\ /s /d | |
xcopy %SystemDrive%\MinGW\bin\*.dll %target%\src\ | |
xcopy %HOME%\vimfiles %target%\vimfiles\ /s | |
echo so $VIM\vimfiles\_vimrc>%target%\_vimrc | |
echo so $VIM\vimfiles\_gvimrc>%target%\_gvimrc | |
"%ProgramFiles%\7-zip\7z.exe" a %target%.zip vimexe\ | |
:end | |
endlocal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment