Files
OpenRA/tools/perforce-edit.lua
2011-02-08 18:02:04 +01:00

14 lines
333 B
Lua

-- authors: Luxinia Dev (Eike Decker & Christoph Kubisch)
---------------------------------------------------------
return {
exec = {
name = "Perforce edit",
description = "does p4 edit",
fn = function(wxfname,projectdir)
local cmd = 'p4 edit "'..wxfname:GetFullPath()..'"'
RunCommandLine(cmd,nil,true)
end,
},
}