-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_MakeAll.bat
90 lines (77 loc) · 2.13 KB
/
_MakeAll.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
@echo off
goto skp00
To make a release version make sure the wined text search
strings and all the check boxes are cleared. Also make
sure the install directory is in C:\Win32for so the file
paths created by Win32Forth will be correct.
Usage to make a release:
_MakeAll RELEASE
End users can just click on the file without any parameters.
mark.dir exists in the SRC directory of every v6.xx
installation. It is used as a flag. Later _mark.dir
(with the underscore) may appear in the src directory
after an AddMod call, but the presence of the mark.dir
(without the underscore) means it's a brand new
installation in the users new directory.
DO NOT PUT ANY MODS OR UNDOS in any new release! Include
them as separate zips or mod setup files.
:skp00
if "%1" == "FINALIZE" copy "src\_mark.dir" "src\mark.dir"
if not exist src\mark.dir goto skp01
if "%1" == "RELEASE" goto skp01
cls
echo.
echo Preparing to reinitialize your MODS and UNDO directories,
echo saving the old mods and undo's in SRC\OLD.
echo.
echo OK to proceed? (Press CTL-C to abort.)
echo.
pause
md "src\old"
md "src\old\mods"
md "src\old\undo"
md "src\old\undo\home"
md "src\old\wined\mods"
md "src\old\wined\undo"
move "src\mods\*.*" "src\old\mods\"
copy "src\mark.dir" "src\mods\_mark.dir"
move "src\undo\*.*" "src\old\undo\"
copy "src\mark.dir" "src\undo\_mark.dir"
move "src\undo\home\*.*" "src\old\undo\home\"
copy "src\mark.dir" "src\undo\home\_mark.dir"
move "src\wined\mods\*.*" "src\old\wined\mods\"
copy "src\mark.dir" "src\wined\mods\_mark.dir"
move "src\wined\undo\*.*" "src\old\wined\undo\"
copy "src\mark.dir" "src\wined\undo\_mark.dir"
del "src\mark.dir"
:skp01
cls
echo Recompiling Win32Forth...
@echo on
@
call meta
@echo.
rem @echo OK to proceed? [CTL-C] to abort! Otherwise
rem @pause
rem cls
@
call extend
@
rem @echo.
rem @echo OK to proceed? [CTL-C] to abort! Otherwise
rem @pause
rem cls
@
call MakeWinEd
REM cls
rem @
rem @echo.
rem @echo OK to proceed? [CTL-C] to abort! Otherwise
rem @pause
@
call help
@
rem cls
@
start /w Wined.exe /b hyper.new
rem cls