git-svn-id: svn://ultimatepp.org/upp/trunk@8011 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-12-27 15:33:50 +00:00
parent 657cb79fac
commit caf9cf09ce

View file

@ -79,12 +79,11 @@ int FilterVersion(int c) { return c == ':' ? '_' : c; }
void Make(String pkg, String exe, String method = "MSC9")
{
Syx("c:/theide/umk " + ass + " " + pkg + " c:/theide/" + method + ".bm -ar " + upptmp + "/" + exe);
Syx("c:/theide/umk " + ass + " " + pkg + " c:/theide/" + method + ".bm -arv " + upptmp + "/" + exe);
FileDelete(upptmp + "/" + ForceExt(exe, ".map"));
}
CONSOLE_APP_MAIN
{
Vector<String> s = Split(Syx("svnversion " + upp), NoDigit);
if(s.GetCount() == 0)
Error("Invalid version");
@ -118,6 +117,6 @@ CONSOLE_APP_MAIN
Syx("7z a " + tmp + "/upp.7z * -r -mx -m0fb=255 -mf=off");
SetCurrentDirectory(tmp);
Syx("c:/theide/umk " + upp + "/uppbox," + upp +
"/uppsrc WinInstaller2 c:/theide/MSC9.bm -ar u:/upload/upp-win32-" +
"/uppsrc WinInstaller2 c:/theide/MSC9.bm -arv u:/upload/upp-win32-" +
Filter(version, FilterVersion) + ".exe");
}