summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal18
1 files changed, 13 insertions, 5 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index b309433..d1e7660 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -95,7 +95,10 @@ library
default-language: Haskell2010
hs-source-dirs: src
- exposed-modules: Xmobar
+ exposed-modules: Xmobar,
+ Xmobar.Plugins.Monitors.Common.Types,
+ Xmobar.Plugins.Monitors.Common.Run,
+ Xmobar.Plugins.Monitors.Cpu
other-modules: Paths_xmobar,
Xmobar.Config.Types,
@@ -140,14 +143,11 @@ library
Xmobar.Plugins.Monitors,
Xmobar.Plugins.Monitors.Batt,
Xmobar.Plugins.Monitors.Common,
- Xmobar.Plugins.Monitors.Common.Types,
- Xmobar.Plugins.Monitors.Common.Run,
Xmobar.Plugins.Monitors.Common.Output,
Xmobar.Plugins.Monitors.Common.Parsers,
Xmobar.Plugins.Monitors.Common.Files,
Xmobar.Plugins.Monitors.CoreTemp,
Xmobar.Plugins.Monitors.CpuFreq,
- Xmobar.Plugins.Monitors.Cpu,
Xmobar.Plugins.Monitors.Disk,
Xmobar.Plugins.Monitors.Mem,
Xmobar.Plugins.Monitors.MultiCoreTemp,
@@ -331,7 +331,6 @@ test-suite XmobarTest
other-modules: Xmobar.Plugins.Monitors.CommonSpec
Xmobar.Plugins.Monitors.Common
Xmobar.Plugins.Monitors.Common.Parsers
- Xmobar.Plugins.Monitors.Common.Run
Xmobar.Plugins.Monitors.Common.Types
Xmobar.Plugins.Monitors.Common.Output
Xmobar.Plugins.Monitors.Common.Files
@@ -348,3 +347,12 @@ test-suite XmobarTest
Xmobar.Plugins.Monitors.AlsaSpec
cpp-options: -DALSA
+
+benchmark xmobarbench
+ type: exitcode-stdio-1.0
+ main-is: main.hs
+ hs-source-dirs:
+ bench
+ ghc-options: -O2
+ build-depends: base, gauge, xmobar, mtl
+ default-language: Haskell2010