Skip to content

Commit c45901d

Browse files
committed
Add comment about ^^!
1 parent c691e2a commit c45901d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

appveyor.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ copy %TCL_DIR%\bin\%TCL_DLL% vim\src\
123123
:: Download the source files and generate config.h for MSVC.
124124
rem git clone https://github.com/ruby/ruby.git -b %RUBY_BRANCH% --depth 1 -q ../ruby
125125
call :downloadfile %RUBY_URL% downloads\ruby.zip
126+
:: Extract the files only we needed to reduce the building time.
127+
:: We need to use `^^` to escape `!` because we enable delayed expansion.
126128
7z x downloads\ruby.zip */bin */enc/Makefile.in */win32 */common.mk -ir^^!version.h -xr^^!README.* -xr^^!*/win32/*.c -xr^^!*/win32/*.h -o.. > nul || exit 1
127129
move ..\ruby-%RUBY_BRANCH% ..\ruby > nul || exit 1
128130
pushd ..\ruby

0 commit comments

Comments
 (0)