5
5
6
6
SetLocal
7
7
8
- cd %APPVEYOR_BUILD_FOLDER%
8
+ if defined APPVEYOR_BUILD_FOLDER (
9
+ cd %APPVEYOR_BUILD_FOLDER%
10
+ set " DEPENDENCIES = %APPVEYOR_BUILD_FOLDER% \dependencies"
11
+ )
9
12
10
13
if not defined APPVEYOR_REPO_TAG_NAME (
11
14
for /F %%I in ('git describe --tags --always --abbrev^ =0') do set " TAG_NAME = %%I "
@@ -27,8 +30,6 @@ if /I "%ARCH%"=="x64" (
27
30
) else (
28
31
set " BIT = 32"
29
32
)
30
- set " DEPENDENCIES = %APPVEYOR_BUILD_FOLDER% \dependencies"
31
-
32
33
:: -------- setting variables ----------------------------------------------
33
34
:: Download URLs, local dirs and versions
34
35
@@ -145,7 +146,6 @@ set "CYGWIN_DIR=c:\cygwin64"
145
146
:: ----------------------------------------------------------------------
146
147
147
148
@ rem Update PATH
148
-
149
149
path %PYTHON_DIR% ;%PYTHON3_DIR% ;%PERL_DIR% \bin;%LUA_DIR% ;%RUBY_DIR% \bin;^
150
150
%RUBY_DIR% \bin\ruby_builtin_dlls;%RACKET_DIR% ;%RACKET_DIR% \lib;%TCL_DIR% ;^
151
151
%TCL_LIBRARY% ;%Path%
@@ -165,7 +165,6 @@ exit 1
165
165
:install_x64
166
166
:: ----------- installing dependencies ------------------------------------------
167
167
echo TAG_NAME: %TAG_NAME%
168
- @ echo on
169
168
170
169
@ rem Get Vim source code
171
170
git submodule update --init --depth 20
@@ -251,7 +250,6 @@ call :downloadfile "%RUBY_SRC_URL%" downloads\ruby_src.zip
251
250
move ..\ruby-%RUBY_BRANCH% ..\ruby > nul || exit 1
252
251
pushd ..\ruby
253
252
call win32\configure.bat
254
- @ echo on
255
253
nmake.exe -l .config.h.time || exit 1
256
254
xcopy /S /Y .ext\include %RUBY_DIR% \include\ruby-%RUBY_API_VER_LONG%
257
255
popd
@@ -263,6 +261,9 @@ call :downloadfile "%RACKET_URL%" downloads\racket-%BIT%.tgz
263
261
move %DEPENDENCIES% \racket %RACKET_DIR%
264
262
type NUL > %RACKET_DIR% \include\bc_suffix.h
265
263
264
+ @ rem Install additional packages for Racket
265
+ raco.exe pkg install -i --auto r5rs-lib
266
+
266
267
@ rem Install libintl.dll and iconv.dll
267
268
call :downloadfile " %GETTEXT_32_URL% " downloads\gettext32.zip
268
269
7z.exe e -y downloads\gettext32.zip ^
@@ -307,20 +308,12 @@ if /I "%ARCH%"=="x64" (
307
308
%SODIUM_DIR% \Win32\Release\v143\dynamic\libsodium.dll
308
309
)
309
310
310
- @ rem Show PATH for debugging
311
- @ echo :%Path:; =&echo: %
312
-
313
- @ rem Install additional packages for Racket
314
- raco.exe pkg install -i --auto r5rs-lib
315
-
316
311
@ echo off
317
312
goto :eof
318
313
319
-
320
314
:build_x86
321
315
:build_x64
322
316
:: -------- building the program -------------------------------------------
323
- @ echo on
324
317
cd vim\src
325
318
326
319
@ if not exist .\auto\nmake mkdir .\auto\nmake
@@ -362,15 +355,12 @@ type ver.txt
362
355
start " " /W .\gvim.exe -u NONE -S ..\..\if_ver.vim -c quit
363
356
type if_ver.txt
364
357
365
- @ echo off
366
358
goto :eof
367
359
368
360
:package_x86
369
361
:package_x64
370
362
:: -------- creating packages ----------------------------------------------
371
-
372
- @ echo on
373
- cd %APPVEYOR_BUILD_FOLDER%
363
+ if defined APPVEYOR_BUILD_FOLDER ( cd %APPVEYOR_BUILD_FOLDER% )
374
364
375
365
@ rem Check if we need to copy libgcc_s_sjlj-1.dll.
376
366
" %VCToolsInstallDir% bin\HostX86\x86\dumpbin.exe" ^
@@ -480,7 +470,6 @@ goto :eof
480
470
:test_x86
481
471
:test_x64
482
472
:: -------- testing the build ----------------------------------------------
483
- @ echo on
484
473
485
474
set " PLTCOLLECTS = %RACKET_DIR% \collects"
486
475
set " PLTCONFIGDIR = %RACKET_DIR% \etc"
0 commit comments