diff --git a/src/base/action.lua b/src/base/action.lua index de8cb840..6ae87781 100644 --- a/src/base/action.lua +++ b/src/base/action.lua @@ -203,24 +203,3 @@ end return false end - - - --- --- Determines if an action supports a particular configuration. --- @return --- True if the configuration is supported, false otherwise. --- - - function action.supportsconfig(act, cfg) - if not act then - return false - end - - if act.supportsconfig then - return act.supportsconfig(cfg) - end - - return true - end - diff --git a/src/base/oven.lua b/src/base/oven.lua index 2e08bdc0..857fbdfd 100644 --- a/src/base/oven.lua +++ b/src/base/oven.lua @@ -177,14 +177,7 @@ local buildcfg = pairing[1] local platform = pairing[2] local cfg = oven.bakeConfig(self, buildcfg, platform) - - -- Check to make sure this configuration is supported by the current - -- action; add it to the project's configuration cache if so. - - if p.action.supportsconfig(cfg) then - self.configs[(buildcfg or "*") .. (platform or "")] = cfg - end - + self.configs[(buildcfg or "*") .. (platform or "")] = cfg end -- Process the sub-objects that are contained by this project. The