summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorSibi Prabakaran <sibi@psibi.in>2020-06-13 14:52:36 +0530
committerSibi Prabakaran <sibi@psibi.in>2020-06-13 14:52:36 +0530
commit2ae720ab47213d93ffd22a40cd99b80bec1d022a (patch)
tree167797ec0c4088869a615c69ffb06cba09adf1b6 /xmobar.cabal
parent7bc2e6b0d6372a602a450a33ba4602e4d84206eb (diff)
downloadxmobar-2ae720ab47213d93ffd22a40cd99b80bec1d022a.tar.gz
xmobar-2ae720ab47213d93ffd22a40cd99b80bec1d022a.tar.bz2
Initial support for benchmarks of the plugins
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