Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
GamesTrap committed Jan 13, 2024
2 parents f0cb685 + 1347626 commit af66a7f
Show file tree
Hide file tree
Showing 6 changed files with 1,320 additions and 23 deletions.
12 changes: 12 additions & 0 deletions .modules/collate_modules/_manifest.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--
-- Name: premake-ninja/.modules/collate_modules/_preload.lua
-- Purpose: Define the collate_modules action.
-- Author: Jan "GamesTrap" Schürkamp
-- Created: 2023/12/10
-- Copyright: (c) 2023 Jan "GamesTrap" Schürkamp
--

return {
"_preload.lua",
"collate_modules.lua",
}
53 changes: 53 additions & 0 deletions .modules/collate_modules/_preload.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
--
-- Name: premake-ninja/.modules/collate_modules/_preload.lua
-- Purpose: Define the collate_modules action.
-- Author: Jan "GamesTrap" Schürkamp
-- Created: 2023/12/10
-- Copyright: (c) 2023 Jan "GamesTrap" Schürkamp
--

local p = premake

newoption
{
trigger = "modmapfmt",
description = "",
allowed =
{
{ "clang", "Clang" },
{ "gcc", "GCC" },
{ "msvc", "MSVC" },
}
}

newoption
{
trigger = "dd",
description = "",
}

newoption
{
trigger = "ddi",
description = "",
}

newoption
{
trigger = "deps",
description = "",
}

newaction
{
-- Metadata for the command line and help system
trigger = "collate_modules",
shortname = "collate_modules",
description = "collate_modules is a small utility to generate modmap files from ddi",

execute = function()
p.modules.collate_modules.CollateModules()
end
}

return p.modules.collate_modules
Loading

0 comments on commit af66a7f

Please sign in to comment.