added linux support
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40398
This commit is contained in:
parent
8434c25bd8
commit
7d33bf0098
@ -57,7 +57,7 @@ namespace builder
|
|||||||
/* Now build it */
|
/* Now build it */
|
||||||
info.WorkingDirectory = path;
|
info.WorkingDirectory = path;
|
||||||
info.FileName = cfg.BuilderPath;
|
info.FileName = cfg.BuilderPath;
|
||||||
info.Arguments = "Release";
|
info.Arguments = "";
|
||||||
info.UseShellExecute = false;
|
info.UseShellExecute = false;
|
||||||
p = Process.Start(info);
|
p = Process.Start(info);
|
||||||
p.WaitForExit();
|
p.WaitForExit();
|
||||||
@ -68,22 +68,6 @@ namespace builder
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Now verify the binary */
|
|
||||||
info.WorkingDirectory = "/bin"; /* :TODO: Fix this */
|
|
||||||
info.FileName = "dlsym";
|
|
||||||
info.Arguments = binpath;
|
|
||||||
info.UseShellExecute = false;
|
|
||||||
info.RedirectStandardOutput = true;
|
|
||||||
p = Process.Start(info);
|
|
||||||
string output = p.StandardOutput.ReadToEnd();
|
|
||||||
p.WaitForExit();
|
|
||||||
p.Close();
|
|
||||||
|
|
||||||
if (output.IndexOf("Handle:") == -1)
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
_binName = binName;
|
_binName = binName;
|
||||||
_binPath = binpath;
|
_binPath = binpath;
|
||||||
|
|
||||||
|
@ -94,3 +94,4 @@ namespace builder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
5
tools/builder/build-linux.cfg
Normal file
5
tools/builder/build-linux.cfg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
OutputBase = /home/users/dvander/done
|
||||||
|
SourceBase = /home/users/dvander/sourcemod/trunk
|
||||||
|
BuilderPath = /usr/bin/make
|
||||||
|
SVNVersion = /usr/bin/svnversion
|
||||||
|
ProductVersion = 1.0.0
|
@ -0,0 +1,5 @@
|
|||||||
|
OutputBase = c:\real\done\sourcemod
|
||||||
|
SourceBase = r:\sourcemod\trunk
|
||||||
|
BuilderPath = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.com
|
||||||
|
SVNVersion = C:\Program Files\Subversion\bin\svnversion.exe
|
||||||
|
ProductVersion = 1.0.0
|
Loading…
Reference in New Issue
Block a user