Commit 8e390f66 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

Make build and dist instances of cygwin

parent b27755e2
if not exist "%~dp0\build\cygwin" mkdir %~dp0\build\cygwin
if not exist "%~dp0\build\cygwin\packages" mkdir %~dp0\build\cygwin\packages
.\setup-x86_64.exe -q -Y -N -n -d -R %~dp0\build\cygwin -l %~dp0\build\cygwin\packages -s ftp://ftp.snt.utwente.nl/pub/software/cygwin/ -P python,gnupg,librsync-devel,librsync1,wget,python-setuptools,gcc-core,gcc,patch,unzip
@echo off
set MIRROR=ftp://ftp.snt.utwente.nl/pub/software/cygwin/
set PACKAGES=python,gnupg,librsync1,python-setuptools
set NAME=cygwin
if "%1" == "build" (
set NAME=%NAME%_build
set PACKAGES=%PACKAGES%,librsync-devel,wget,gcc-core,gcc,patch,unzip
) else (
if not "%1" == "dist" (
@echo Must give option build or dist
goto end
))
set BUILD=%~dp0%build
set CYGWIN=%BUILD%\%NAME%
set CACHE=%BUILD%\cygwin_packages
@echo %CYGWIN%
@echo %CACHE%
@echo %PACKAGES%
if not exist %CYGWIN% mkdir %CYGWIN%
if not exist %CACHE% mkdir %CACHE%
.\setup-x86_64.exe -q -Y -N -n -d -R %CYGWIN% -l %CACHE% -s %MIRROR% -P %PACKAGES%
:end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment