From 4af5117eb47028b234f4779c9c62cf344320e151 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 24 Nov 2018 20:36:10 +0000 Subject: Refactoring: cleaner separation app/lib and more cleanups --- xmobar.cabal | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'xmobar.cabal') diff --git a/xmobar.cabal b/xmobar.cabal index 4a22a8b..9c6fcf7 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -95,19 +95,12 @@ library hs-source-dirs: src/lib exposed-modules: Xmobar, + Xmobar.Types, + Xmobar.Config, Xmobar.Actions, Xmobar.Bitmap, - Xmobar.Config, - Xmobar.Parsers, Xmobar.Commands, - Xmobar.Localize, - Xmobar.XUtil, - Xmobar.StatFS, Xmobar.Runnable, - Xmobar.ColorCache, - Xmobar.Window, - Xmobar.Signal, - Xmobar.Environment, Xmobar.Plugins, Xmobar.Plugins.BufferedPipeReader, Xmobar.Plugins.CommandReader, @@ -139,6 +132,17 @@ library Xmobar.Plugins.Monitors.Bright, Xmobar.Plugins.Monitors.CatInt + other-modules: Xmobar.Localize, + Xmobar.Parsers, + Xmobar.XUtil, + Xmobar.StatFS, + Xmobar.ColorCache, + Xmobar.Window, + Xmobar.Draw, + Xmobar.Signal, + Xmobar.Environment, + Xmobar.EventLoop + extra-libraries: Xrandr Xrender ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-do-bind @@ -297,6 +301,8 @@ test-suite XmobarTest other-modules: Plugins.Monitors.CommonSpec, Xmobar.Commands, Xmobar.Signal, + Xmobar.XUtil, + Xmobar.ColorCache, Xmobar.Plugins, Xmobar.Plugins.Utils, Xmobar.Plugins.Monitors.Common -- cgit v1.2.3