premake/modules/raw/_preload.lua
Jason Perkins af7b674265 Move core modules into main repository; drop submodules
As discussed numerous times, get rid of the submodule approach for core modules and just included the sources directly in the main repository.

I have no idea how this will play with existing working copies. It might be necessary to [manually clear out the existing submodules](http://stackoverflow.com/questions/1260748) first.
2016-11-09 14:29:33 -05:00

21 lines
527 B
Lua

newaction
{
trigger = "raw",
shortname = "Raw output",
description = "Generate raw representation of Premake structures",
valid_kinds = { "ConsoleApp", "WindowedApp", "SharedLib", "StaticLib", "Makefile", "None", "Utility" },
valid_languages = { "C", "C++" },
valid_tools = { cc = { "clang" } },
onsolution = function(sln)
require('raw')
premake.generate(sln, ".raw", premake.raw.solution)
end,
}
return function(cfg)
return (_ACTION == "raw")
end