fixing up the zip batch
parent
ea6a0996ee
commit
28cc8cf2e3
|
@ -361,7 +361,7 @@ buildsuper(char *code_path, char *out_path, char *filename, b32 x86_build){
|
||||||
char *build_script = "buildsuper.bat";
|
char *build_script = "buildsuper.bat";
|
||||||
if (x86_build){
|
if (x86_build){
|
||||||
prefix_1 = code_path;
|
prefix_1 = code_path;
|
||||||
prefix_2 = "\\setup_cl_x86.bat & ";
|
prefix_2 = "\\build_script\\setup_cl_x86.bat & ";
|
||||||
build_script = "buildsuper_x86.bat";
|
build_script = "buildsuper_x86.bat";
|
||||||
}
|
}
|
||||||
systemf("%s%scall \"%s\\%s\" %s", prefix_1, prefix_2, code_path, build_script, filename);
|
systemf("%s%scall \"%s\\%s\" %s", prefix_1, prefix_2, code_path, build_script, filename);
|
||||||
|
|
5
zip.bat
5
zip.bat
|
@ -3,4 +3,7 @@
|
||||||
REM Usage: zip <archivename>
|
REM Usage: zip <archivename>
|
||||||
REM compresses the current directory into a zip named <archivename>.zip
|
REM compresses the current directory into a zip named <archivename>.zip
|
||||||
|
|
||||||
"C:\Program Files (x86)\7-Zip\7z.exe" a -tzip -y %*
|
SET ZIP_PATH=C:\Program Files (x86)\7-Zip
|
||||||
|
IF NOT EXIST "%ZIP_PATH%" (SET ZIP_PATH=C:\Program Files\7-Zip)
|
||||||
|
IF EXIST "%ZIP_PATH%" ("%ZIP_PATH%\7z.exe" a -tzip -y %*)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue