From fc526d2aefba86a8639a6a4952156728b23505cc Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 18 Aug 2019 19:16:21 -0400 Subject: [PATCH] build: Configure the `ruled` module dependency graph. It is the topmost module, it can use everything, but nothing can use it. --- build-utils/check_for_invalid_requires.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/build-utils/check_for_invalid_requires.lua b/build-utils/check_for_invalid_requires.lua index 741d1ad3..1c9cd29c 100755 --- a/build-utils/check_for_invalid_requires.lua +++ b/build-utils/check_for_invalid_requires.lua @@ -34,7 +34,10 @@ local allowed_deps = { wibox = true, -- Necessary to lazy-load the deprecated modules. - ["awful.*"] = true + ["awful.*"] = true, + + -- For legacy reasons. + ruled = true }, naughty = { awful = true, @@ -50,6 +53,14 @@ local allowed_deps = { lgi = true, wibox = true, }, + ruled = { + awful = true, + beautiful = true, + gears = true, + lgi = true, + wibox = true, + naughty = true, + }, -- TODO: Get rid of these ["gears.surface"] = { ["wibox.hierarchy"] = true }, }