Skip to content

Commit 9e7d8b4

Browse files
committed
added more batch files (nw)
1 parent 944638b commit 9e7d8b4

File tree

10 files changed

+34
-12
lines changed

10 files changed

+34
-12
lines changed

buildtools.bat renamed to x64/buildtools.bat

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,11 @@ rem ember that we get here even in command.com.
2323
if NOT EXIST %WD%opt\bin\CmdInit.cmd %WD%usr\bin\touch.exe > %WD%opt\bin\CmdInit.cmd
2424

2525
if NOT EXIST %WD%msys-2.0.dll set WD=%~dp0usr\bin\
26+
if EXIST %WD%sh.exe.old move /Y %WD%sh.exe.old %WD%sh.exe
2627
set MSYSTEM=MINGW64
2728
set MINGW32=/mingw32
2829
set MINGW64=/mingw64
2930
set PATH=%PATH%;.
30-
@if defined VS120COMNTOOLS (
31-
@call "%VS120COMNTOOLS%vsvars32.bat"
32-
)
33-
@if defined VS140COMNTOOLS (
34-
@call "%VS140COMNTOOLS%vsvars32.bat"
35-
)
3631
rem To activate windows native symlinks uncomment next line
3732
rem set MSYS=winsymlinks:nativestrict
3833
rem Set debugging program for errors

conemu.bat renamed to x64/conemu.bat

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,11 @@ rem ember that we get here even in command.com.
2323
if NOT EXIST %WD%opt\bin\CmdInit.cmd %WD%usr\bin\touch.exe > %WD%opt\bin\CmdInit.cmd
2424

2525
if NOT EXIST %WD%msys-2.0.dll set WD=%~dp0usr\bin\
26+
if EXIST %WD%sh.exe.old move /Y %WD%sh.exe.old %WD%sh.exe
2627
set MSYSTEM=MINGW64
2728
set MINGW32=/mingw32
2829
set MINGW64=/mingw64
2930
set PATH=%PATH%;.
30-
@if defined VS120COMNTOOLS (
31-
@call "%VS120COMNTOOLS%vsvars32.bat"
32-
)
33-
@if defined VS140COMNTOOLS (
34-
@call "%VS140COMNTOOLS%vsvars32.bat"
35-
)
3631
rem To activate windows native symlinks uncomment next line
3732
rem set MSYS=winsymlinks:nativestrict
3833
rem Set debugging program for errors

x64/script-update.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@usr\bin\wget -q https://raw.githubusercontent.com/mamedev/buildtools/master/x64/buildtools.bat -O buildtools.bat
2+
@usr\bin\wget -q https://raw.githubusercontent.com/mamedev/buildtools/master/x64/conemu.bat -O conemu.bat
3+
@usr\bin\wget -q https://raw.githubusercontent.com/mamedev/buildtools/master/x64/win32con.bat -O win32con.bat
4+
@usr\bin\wget -q https://raw.githubusercontent.com/mamedev/buildtools/master/x64/win32env.bat -O win32env.bat

x64/win32con.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@if not exist src (
2+
mkdir src
3+
)
4+
@cd src
5+
6+
start ..\opt\bin\ConEmu -cmd cmd /k ..\win32\env.bat

x64/win32env.bat

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@if not exist src (
2+
mkdir src
3+
)
4+
@cd src
5+
@cmd /k ..\win32\env.bat

x86/buildtools.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ rem ember that we get here even in command.com.
2323
if NOT EXIST %WD%opt\bin\CmdInit.cmd %WD%usr\bin\touch.exe > %WD%opt\bin\CmdInit.cmd
2424

2525
if NOT EXIST %WD%msys-2.0.dll set WD=%~dp0usr\bin\
26+
if EXIST %WD%sh.exe.old move /Y %WD%sh.exe.old %WD%sh.exe
2627
set MSYSTEM=MINGW32
2728
set MINGW32=/mingw32
2829
set MINGW64=/mingw64

x86/conemu.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ rem ember that we get here even in command.com.
2323
if NOT EXIST %WD%opt\bin\CmdInit.cmd %WD%usr\bin\touch.exe > %WD%opt\bin\CmdInit.cmd
2424

2525
if NOT EXIST %WD%msys-2.0.dll set WD=%~dp0usr\bin\
26+
if EXIST %WD%sh.exe.old move /Y %WD%sh.exe.old %WD%sh.exe
2627
set MSYSTEM=MINGW32
2728
set MINGW32=/mingw32
2829
set MINGW64=/mingw64

x86/script-update.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@usr\bin\wget -q https://raw.githubusercontent.com/mamedev/buildtools/master/x86/buildtools.bat -O buildtools.bat
2+
@usr\bin\wget -q https://raw.githubusercontent.com/mamedev/buildtools/master/x86/conemu.bat -O conemu.bat
3+
@usr\bin\wget -q https://raw.githubusercontent.com/mamedev/buildtools/master/x86/win32con.bat -O win32con.bat
4+
@usr\bin\wget -q https://raw.githubusercontent.com/mamedev/buildtools/master/x86/win32env.bat -O win32env.bat

x86/win32con.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@if not exist src (
2+
mkdir src
3+
)
4+
@cd src
5+
6+
start ..\opt\bin\ConEmu -cmd cmd /k ..\win32\env.bat

x86/win32env.bat

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@if not exist src (
2+
mkdir src
3+
)
4+
@cd src
5+
@cmd /k ..\win32\env.bat

0 commit comments

Comments
 (0)