Skip to content

Commit

Permalink
rename remaining library to swarm-tui and stop re-exporting everything
Browse files Browse the repository at this point in the history
  • Loading branch information
byorgey committed May 10, 2024
1 parent e18a329 commit 7dd2b16
Showing 1 changed file with 9 additions and 139 deletions.
148 changes: 9 additions & 139 deletions swarm.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,11 @@ library swarm-web
witch,

build-depends:
swarm,
swarm:swarm-lang,
swarm:swarm-util,
swarm:swarm-lang,
swarm:swarm-scenario,
swarm:swarm-engine,
swarm:swarm-tui,
swarm:swarm-doc,

hs-source-dirs: src/swarm-web
Expand Down Expand Up @@ -588,7 +590,7 @@ library swarm-doc
-- See discussion in #415
StrictData

library
library swarm-tui
import: stan-config, common, ghc2021-extensions
exposed-modules:
Swarm.TUI.Border
Expand Down Expand Up @@ -627,140 +629,6 @@ library
Swarm.TUI.View.Structure
Swarm.TUI.View.Util

reexported-modules:
Control.Carrier.Accum.FixedStrict,
Data.BoolExpr.Simplify,
Swarm.Constant,
Swarm.Effect,
Swarm.Effect.Time,
Swarm.Game.Achievement.Attainment,
Swarm.Game.Achievement.Definitions,
Swarm.Game.Achievement.Description,
Swarm.Game.Achievement.Persistence,
Swarm.Game.CESK,
Swarm.Game.Device,
Swarm.Game.Display,
Swarm.Game.Entity,
Swarm.Game.Entity.Cosmetic,
Swarm.Game.Entity.Cosmetic.Assignment,
Swarm.Game.Exception,
Swarm.Game.Failure,
Swarm.Game.Ingredients,
Swarm.Game.Land,
Swarm.Game.Location,
Swarm.Game.Recipe,
Swarm.Game.ResourceLoading,
Swarm.Game.Robot,
Swarm.Game.Robot.Activity,
Swarm.Game.Robot.Concrete,
Swarm.Game.Robot.Context,
Swarm.Game.Robot.Walk,
Swarm.Game.Scenario,
Swarm.Game.Scenario.Objective,
Swarm.Game.Scenario.Objective.Graph,
Swarm.Game.Scenario.Objective.Logic,
Swarm.Game.Scenario.Objective.Validation,
Swarm.Game.Scenario.Objective.WinCheck,
Swarm.Game.Scenario.RobotLookup,
Swarm.Game.Scenario.Scoring.Best,
Swarm.Game.Scenario.Scoring.CodeSize,
Swarm.Game.Scenario.Scoring.ConcreteMetrics,
Swarm.Game.Scenario.Scoring.GenericMetrics,
Swarm.Game.Scenario.Status,
Swarm.Game.Scenario.Style,
Swarm.Game.Scenario.Topography.Area,
Swarm.Game.Scenario.Topography.Cell,
Swarm.Game.Scenario.Topography.Center,
Swarm.Game.Scenario.Topography.EntityFacade,
Swarm.Game.Scenario.Topography.Navigation.Portal,
Swarm.Game.Scenario.Topography.Navigation.Util,
Swarm.Game.Scenario.Topography.Navigation.Waypoint,
Swarm.Game.Scenario.Topography.Placement,
Swarm.Game.Scenario.Topography.Structure,
Swarm.Game.Scenario.Topography.Structure.Recognition,
Swarm.Game.Scenario.Topography.Structure.Recognition.Log,
Swarm.Game.Scenario.Topography.Structure.Recognition.Precompute,
Swarm.Game.Scenario.Topography.Structure.Recognition.Registry,
Swarm.Game.Scenario.Topography.Structure.Recognition.Symmetry,
Swarm.Game.Scenario.Topography.Structure.Recognition.Tracking,
Swarm.Game.Scenario.Topography.Structure.Recognition.Type,
Swarm.Game.Scenario.Topography.WorldDescription,
Swarm.Game.Scenario.Topography.WorldPalette,
Swarm.Game.ScenarioInfo,
Swarm.Game.State,
Swarm.Game.State.Config,
Swarm.Game.State.Landscape,
Swarm.Game.State.Robot,
Swarm.Game.State.Runtime,
Swarm.Game.State.Substate,
Swarm.Game.Step,
Swarm.Game.Step.Arithmetic,
Swarm.Game.Step.Combustion,
Swarm.Game.Step.Const,
Swarm.Game.Step.Flood,
Swarm.Game.Step.Path.Cache,
Swarm.Game.Step.Path.Cache.DistanceLimit,
Swarm.Game.Step.Path.Finding,
Swarm.Game.Step.Path.Type,
Swarm.Game.Step.Path.Walkability,
Swarm.Game.Step.RobotStepState,
Swarm.Game.Step.Util,
Swarm.Game.Step.Util.Command,
Swarm.Game.Step.Util.Inspect,
Swarm.Game.Step.Validate,
Swarm.Game.Terrain,
Swarm.Game.Tick,
Swarm.Game.Universe,
Swarm.Game.Value,
Swarm.Game.World,
Swarm.Game.World.Abstract,
Swarm.Game.World.Compile,
Swarm.Game.World.Coords,
Swarm.Game.World.Eval,
Swarm.Game.World.Gen,
Swarm.Game.World.Interpret,
Swarm.Game.World.Load,
Swarm.Game.World.Modify,
Swarm.Game.World.Parse,
Swarm.Game.World.Render,
Swarm.Game.World.Syntax,
Swarm.Game.World.Typecheck,
Swarm.Language.Capability,
Swarm.Language.Context,
Swarm.Language.Direction,
Swarm.Language.Elaborate,
Swarm.Language.Key,
Swarm.Language.LSP,
Swarm.Language.LSP.Hover,
Swarm.Language.LSP.VarUsage,
Swarm.Language.Module,
Swarm.Language.Parse,
Swarm.Language.Parse.QQ,
Swarm.Language.Pipeline,
Swarm.Language.Pipeline.QQ,
Swarm.Language.Pretty,
Swarm.Language.Requirement,
Swarm.Language.Syntax,
Swarm.Language.Syntax.CommandMetadata,
Swarm.Language.Text.Markdown,
Swarm.Language.Typecheck,
Swarm.Language.Typed,
Swarm.Language.Types,
Swarm.Language.Value,
Swarm.Log,
Swarm.Util,
Swarm.Util.Content,
Swarm.Util.Effect,
Swarm.Util.Erasable,
Swarm.Util.Lens,
Swarm.Util.OccurrenceEncoder,
Swarm.Util.Parse,
Swarm.Util.RingBuffer,
Swarm.Util.UnitInterval,
Swarm.Util.WindowedCounter,
Swarm.Util.Yaml,
Swarm.Version,

other-modules: Paths_swarm
autogen-modules: Paths_swarm
build-depends:
Expand Down Expand Up @@ -828,9 +696,11 @@ executable swarm
optparse-applicative >=0.16 && <0.19,
prettyprinter,
servant >=0.19 && <0.21,
swarm,
swarm:swarm-tui,
swarm:swarm-lang,
swarm:swarm-util,
swarm:swarm-scenario,
swarm:swarm-engine,
swarm:swarm-web,
terminal-size >=0.3 && <1.0,
text,
Expand Down Expand Up @@ -932,7 +802,7 @@ test-suite swarm-unit
witch,

build-depends:
swarm,
swarm:swarm-tui,
swarm:swarm-engine,
swarm:swarm-lang,
swarm:swarm-scenario,
Expand Down

0 comments on commit 7dd2b16

Please sign in to comment.