From 04b3a1f8b4536545cf8a862c258fa0d167434725 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Mon, 16 Mar 2020 00:22:21 +0100 Subject: [PATCH] fix build of executable --- Hash2Pub/Hash2Pub.cabal | 7 +++++-- Hash2Pub/Main.hs | 6 ------ 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 Hash2Pub/Main.hs diff --git a/Hash2Pub/Hash2Pub.cabal b/Hash2Pub/Hash2Pub.cabal index ac6df96..26ac80b 100644 --- a/Hash2Pub/Hash2Pub.cabal +++ b/Hash2Pub/Hash2Pub.cabal @@ -73,17 +73,20 @@ executable Hash2Pub -- Other library packages from which modules are imported. import: deps + -- adding the library as a dependency + build-depends: Hash2Pub + -- .hs or .lhs file containing the Main module. main-is: Main.hs -- Modules included in this executable, other than Main. - other-modules: FediChord + --other-modules: -- LANGUAGE extensions used by modules in this package. other-extensions: GeneralizedNewtypeDeriving -- Directories containing source files. - -- hs-source-dirs: . + hs-source-dirs: src/Hash2Pub -- Base language which the package is written in. default-language: Haskell2010 diff --git a/Hash2Pub/Main.hs b/Hash2Pub/Main.hs deleted file mode 100644 index 0fcbfed..0000000 --- a/Hash2Pub/Main.hs +++ /dev/null @@ -1,6 +0,0 @@ -module Main where - -import FediChord - -main :: IO () -main = putStrLn "placeholder until later"