From e4b00259ec4c1338f766561aba3b7a3a3159d216 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 30 Jul 2017 19:36:28 +0200 Subject: Move `Plugin` and `PluginAction` to a new module Move our base plugin types to a new module to enable us to use them in both the plugin matching code (which we'll leave in "Plugin.hs") and in specialised plugin modules. This enables us to import and provide a list of plugins in `plugins` in "Plugin.hs" and use these types in that file and in the plugin files without any circular/recursive module dependencies. --- sorbot.cabal | 1 + 1 file changed, 1 insertion(+) (limited to 'sorbot.cabal') diff --git a/sorbot.cabal b/sorbot.cabal index 49c21fa..a581bea 100644 --- a/sorbot.cabal +++ b/sorbot.cabal @@ -17,6 +17,7 @@ library hs-source-dirs: src exposed-modules: Lib , Plugin + , Plugin.Base build-depends: base >= 4.7 && < 5 , regex-tdfa default-language: Haskell2010 -- cgit v1.2.3