diff options
author | Marius <mariausol@gmail.com> | 2014-01-02 21:20:26 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2014-01-02 21:20:26 +0200 |
commit | 5a15bfc6c723873dc0ad2bb0fdaa9b252f030339 (patch) | |
tree | 7576871dba6d77eed66a0a84bf87e31b663d8ff7 /scripts/context/stubs/mswin | |
parent | e8a06e89017f7bd9907c73ae7a656d3a725fd064 (diff) | |
download | context-5a15bfc6c723873dc0ad2bb0fdaa9b252f030339.tar.gz |
stable 2014.01.02 20:05
Diffstat (limited to 'scripts/context/stubs/mswin')
-rw-r--r-- | scripts/context/stubs/mswin/first-setup.bat | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/context/stubs/mswin/first-setup.bat b/scripts/context/stubs/mswin/first-setup.bat index 2c2eaec62..f06ad0e6b 100644 --- a/scripts/context/stubs/mswin/first-setup.bat +++ b/scripts/context/stubs/mswin/first-setup.bat @@ -16,10 +16,26 @@ if defined ProgramFiles(x86) ( if "%PROCESSOR_ARCHITEW6432%"=="AMD64" set PLATFORM=win64 ) +REM ~ copy /y bin\mtx-update.lua bin\x.lua + +if "%PLATFORM%" == "win64" goto update-win64 + +:update-win32 + rsync -av --exclude 'rsync.exe' --exclude 'cygwin1.dll' --exclude 'cygiconv-2.dll' rsync://contextgarden.net/minimals/setup/mswin/bin/ bin +goto update + +:update-win64 + +rsync -av --exclude 'rsync.exe' --exclude 'cygwin1.dll' --exclude 'cygiconv-2.dll' rsync://contextgarden.net/minimals/setup/win64/bin/ bin + +goto update + :update +REM ~ copy /y bin\x.lua bin\mtx-update.lua + REM --mingw --nofiledatabase --engine=luatex mtxrun --script ./bin/mtx-update.lua --update --force --make --engine=all --context=beta --texroot=%OWNPATH%tex %* |