_preload.lua 306 B

12345678910111213141516
  1. newaction
  2. {
  3. trigger = "raw",
  4. shortname = "Raw output",
  5. description = "Generate raw representation of Premake structures",
  6. onsolution = function(sln)
  7. require('raw')
  8. premake.generate(sln, ".raw", premake.raw.workspace)
  9. end,
  10. }
  11. return function(cfg)
  12. return (_ACTION == "raw")
  13. end