diff --git a/src/Swarm/TUI/Border.hs b/src/swarm-tui/Swarm/TUI/Border.hs similarity index 100% rename from src/Swarm/TUI/Border.hs rename to src/swarm-tui/Swarm/TUI/Border.hs diff --git a/src/Swarm/TUI/Controller.hs b/src/swarm-tui/Swarm/TUI/Controller.hs similarity index 100% rename from src/Swarm/TUI/Controller.hs rename to src/swarm-tui/Swarm/TUI/Controller.hs diff --git a/src/Swarm/TUI/Controller/Util.hs b/src/swarm-tui/Swarm/TUI/Controller/Util.hs similarity index 100% rename from src/Swarm/TUI/Controller/Util.hs rename to src/swarm-tui/Swarm/TUI/Controller/Util.hs diff --git a/src/Swarm/TUI/Editor/Controller.hs b/src/swarm-tui/Swarm/TUI/Editor/Controller.hs similarity index 100% rename from src/Swarm/TUI/Editor/Controller.hs rename to src/swarm-tui/Swarm/TUI/Editor/Controller.hs diff --git a/src/Swarm/TUI/Editor/Json.hs b/src/swarm-tui/Swarm/TUI/Editor/Json.hs similarity index 100% rename from src/Swarm/TUI/Editor/Json.hs rename to src/swarm-tui/Swarm/TUI/Editor/Json.hs diff --git a/src/Swarm/TUI/Editor/Masking.hs b/src/swarm-tui/Swarm/TUI/Editor/Masking.hs similarity index 100% rename from src/Swarm/TUI/Editor/Masking.hs rename to src/swarm-tui/Swarm/TUI/Editor/Masking.hs diff --git a/src/Swarm/TUI/Editor/Model.hs b/src/swarm-tui/Swarm/TUI/Editor/Model.hs similarity index 100% rename from src/Swarm/TUI/Editor/Model.hs rename to src/swarm-tui/Swarm/TUI/Editor/Model.hs diff --git a/src/Swarm/TUI/Editor/Palette.hs b/src/swarm-tui/Swarm/TUI/Editor/Palette.hs similarity index 100% rename from src/Swarm/TUI/Editor/Palette.hs rename to src/swarm-tui/Swarm/TUI/Editor/Palette.hs diff --git a/src/Swarm/TUI/Editor/Util.hs b/src/swarm-tui/Swarm/TUI/Editor/Util.hs similarity index 100% rename from src/Swarm/TUI/Editor/Util.hs rename to src/swarm-tui/Swarm/TUI/Editor/Util.hs diff --git a/src/Swarm/TUI/Editor/View.hs b/src/swarm-tui/Swarm/TUI/Editor/View.hs similarity index 100% rename from src/Swarm/TUI/Editor/View.hs rename to src/swarm-tui/Swarm/TUI/Editor/View.hs diff --git a/src/Swarm/TUI/Inventory/Sorting.hs b/src/swarm-tui/Swarm/TUI/Inventory/Sorting.hs similarity index 100% rename from src/Swarm/TUI/Inventory/Sorting.hs rename to src/swarm-tui/Swarm/TUI/Inventory/Sorting.hs diff --git a/src/Swarm/TUI/Launch/Controller.hs b/src/swarm-tui/Swarm/TUI/Launch/Controller.hs similarity index 100% rename from src/Swarm/TUI/Launch/Controller.hs rename to src/swarm-tui/Swarm/TUI/Launch/Controller.hs diff --git a/src/Swarm/TUI/Launch/Model.hs b/src/swarm-tui/Swarm/TUI/Launch/Model.hs similarity index 100% rename from src/Swarm/TUI/Launch/Model.hs rename to src/swarm-tui/Swarm/TUI/Launch/Model.hs diff --git a/src/Swarm/TUI/Launch/Prep.hs b/src/swarm-tui/Swarm/TUI/Launch/Prep.hs similarity index 100% rename from src/Swarm/TUI/Launch/Prep.hs rename to src/swarm-tui/Swarm/TUI/Launch/Prep.hs diff --git a/src/Swarm/TUI/Launch/View.hs b/src/swarm-tui/Swarm/TUI/Launch/View.hs similarity index 100% rename from src/Swarm/TUI/Launch/View.hs rename to src/swarm-tui/Swarm/TUI/Launch/View.hs diff --git a/src/Swarm/TUI/List.hs b/src/swarm-tui/Swarm/TUI/List.hs similarity index 100% rename from src/Swarm/TUI/List.hs rename to src/swarm-tui/Swarm/TUI/List.hs diff --git a/src/Swarm/TUI/Model.hs b/src/swarm-tui/Swarm/TUI/Model.hs similarity index 100% rename from src/Swarm/TUI/Model.hs rename to src/swarm-tui/Swarm/TUI/Model.hs diff --git a/src/Swarm/TUI/Model/Goal.hs b/src/swarm-tui/Swarm/TUI/Model/Goal.hs similarity index 100% rename from src/Swarm/TUI/Model/Goal.hs rename to src/swarm-tui/Swarm/TUI/Model/Goal.hs diff --git a/src/Swarm/TUI/Model/Menu.hs b/src/swarm-tui/Swarm/TUI/Model/Menu.hs similarity index 100% rename from src/Swarm/TUI/Model/Menu.hs rename to src/swarm-tui/Swarm/TUI/Model/Menu.hs diff --git a/src/Swarm/TUI/Model/Name.hs b/src/swarm-tui/Swarm/TUI/Model/Name.hs similarity index 100% rename from src/Swarm/TUI/Model/Name.hs rename to src/swarm-tui/Swarm/TUI/Model/Name.hs diff --git a/src/Swarm/TUI/Model/Repl.hs b/src/swarm-tui/Swarm/TUI/Model/Repl.hs similarity index 100% rename from src/Swarm/TUI/Model/Repl.hs rename to src/swarm-tui/Swarm/TUI/Model/Repl.hs diff --git a/src/Swarm/TUI/Model/StateUpdate.hs b/src/swarm-tui/Swarm/TUI/Model/StateUpdate.hs similarity index 100% rename from src/Swarm/TUI/Model/StateUpdate.hs rename to src/swarm-tui/Swarm/TUI/Model/StateUpdate.hs diff --git a/src/Swarm/TUI/Model/Structure.hs b/src/swarm-tui/Swarm/TUI/Model/Structure.hs similarity index 100% rename from src/Swarm/TUI/Model/Structure.hs rename to src/swarm-tui/Swarm/TUI/Model/Structure.hs diff --git a/src/Swarm/TUI/Model/UI.hs b/src/swarm-tui/Swarm/TUI/Model/UI.hs similarity index 100% rename from src/Swarm/TUI/Model/UI.hs rename to src/swarm-tui/Swarm/TUI/Model/UI.hs diff --git a/src/Swarm/TUI/Panel.hs b/src/swarm-tui/Swarm/TUI/Panel.hs similarity index 100% rename from src/Swarm/TUI/Panel.hs rename to src/swarm-tui/Swarm/TUI/Panel.hs diff --git a/src/Swarm/TUI/View.hs b/src/swarm-tui/Swarm/TUI/View.hs similarity index 100% rename from src/Swarm/TUI/View.hs rename to src/swarm-tui/Swarm/TUI/View.hs diff --git a/src/Swarm/TUI/View/Achievement.hs b/src/swarm-tui/Swarm/TUI/View/Achievement.hs similarity index 100% rename from src/Swarm/TUI/View/Achievement.hs rename to src/swarm-tui/Swarm/TUI/View/Achievement.hs diff --git a/src/Swarm/TUI/View/Attribute/Attr.hs b/src/swarm-tui/Swarm/TUI/View/Attribute/Attr.hs similarity index 100% rename from src/Swarm/TUI/View/Attribute/Attr.hs rename to src/swarm-tui/Swarm/TUI/View/Attribute/Attr.hs diff --git a/src/Swarm/TUI/View/Attribute/CustomStyling.hs b/src/swarm-tui/Swarm/TUI/View/Attribute/CustomStyling.hs similarity index 100% rename from src/Swarm/TUI/View/Attribute/CustomStyling.hs rename to src/swarm-tui/Swarm/TUI/View/Attribute/CustomStyling.hs diff --git a/src/Swarm/TUI/View/Attribute/Util.hs b/src/swarm-tui/Swarm/TUI/View/Attribute/Util.hs similarity index 100% rename from src/Swarm/TUI/View/Attribute/Util.hs rename to src/swarm-tui/Swarm/TUI/View/Attribute/Util.hs diff --git a/src/Swarm/TUI/View/CellDisplay.hs b/src/swarm-tui/Swarm/TUI/View/CellDisplay.hs similarity index 100% rename from src/Swarm/TUI/View/CellDisplay.hs rename to src/swarm-tui/Swarm/TUI/View/CellDisplay.hs diff --git a/src/Swarm/TUI/View/Logo.hs b/src/swarm-tui/Swarm/TUI/View/Logo.hs similarity index 100% rename from src/Swarm/TUI/View/Logo.hs rename to src/swarm-tui/Swarm/TUI/View/Logo.hs diff --git a/src/Swarm/TUI/View/Objective.hs b/src/swarm-tui/Swarm/TUI/View/Objective.hs similarity index 100% rename from src/Swarm/TUI/View/Objective.hs rename to src/swarm-tui/Swarm/TUI/View/Objective.hs diff --git a/src/Swarm/TUI/View/Structure.hs b/src/swarm-tui/Swarm/TUI/View/Structure.hs similarity index 100% rename from src/Swarm/TUI/View/Structure.hs rename to src/swarm-tui/Swarm/TUI/View/Structure.hs diff --git a/src/Swarm/TUI/View/Util.hs b/src/swarm-tui/Swarm/TUI/View/Util.hs similarity index 100% rename from src/Swarm/TUI/View/Util.hs rename to src/swarm-tui/Swarm/TUI/View/Util.hs diff --git a/swarm.cabal b/swarm.cabal index 842003bbc..0300b98fd 100644 --- a/swarm.cabal +++ b/swarm.cabal @@ -674,7 +674,7 @@ library swarm-tui swarm:swarm-scenario, swarm:swarm-util, - hs-source-dirs: src + hs-source-dirs: src/swarm-tui default-language: Haskell2010 default-extensions: -- Avoid unexpected unevaluated thunk buildup