2016-11-09 19:29:33 +00:00
|
|
|
newaction
|
|
|
|
{
|
2017-04-25 17:15:33 +00:00
|
|
|
trigger = "raw",
|
|
|
|
shortname = "Raw output",
|
|
|
|
description = "Generate raw representation of Premake structures",
|
2016-11-09 19:29:33 +00:00
|
|
|
|
2017-04-25 17:15:33 +00:00
|
|
|
onsolution = function(sln)
|
|
|
|
require('raw')
|
2016-11-09 19:29:33 +00:00
|
|
|
|
2017-06-20 21:35:53 +00:00
|
|
|
premake.generate(sln, ".raw", premake.raw.workspace)
|
2017-04-25 17:15:33 +00:00
|
|
|
end,
|
2016-11-09 19:29:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return function(cfg)
|
|
|
|
return (_ACTION == "raw")
|
|
|
|
end
|