From 842233467c0a52ddd37d7f382750cfac4430664f Mon Sep 17 00:00:00 2001 From: Jonathan Lamothe Date: Tue, 26 Oct 2021 12:46:03 -0400 Subject: [PATCH] fixed sdist problems --- gemboard.cabal | 7 +++++-- package.yaml | 10 ++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/gemboard.cabal b/gemboard.cabal index bc46426..ee9f7b6 100644 --- a/gemboard.cabal +++ b/gemboard.cabal @@ -6,8 +6,8 @@ cabal-version: 2.2 name: gemboard version: 0.0.0 -synopsis: Basic Gemini message board -description: Basic Gemini message board +synopsis: simple Gemini message board +description: simple Gemini message board - see README.md for details category: Gemini author: Jonathan Lamothe maintainer: jonathan@jlamothe.net @@ -30,6 +30,7 @@ library build-depends: base >=4.7 && <5 default-language: Haskell2010 + autogen-modules: Paths_gemboard executable gemboard main-is: Main.hs @@ -42,6 +43,7 @@ executable gemboard base >=4.7 && <5 , gemboard default-language: Haskell2010 + autogen-modules: Paths_gemboard test-suite gemboard-test type: exitcode-stdio-1.0 @@ -56,3 +58,4 @@ test-suite gemboard-test , gemboard , hspec >=2.7.10 && <2.8 default-language: Haskell2010 + autogen-modules: Paths_gemboard diff --git a/package.yaml b/package.yaml index f97bf9f..a06f9ac 100644 --- a/package.yaml +++ b/package.yaml @@ -10,13 +10,13 @@ extra-source-files: - ChangeLog.md # Metadata used when publishing your package -synopsis: Basic Gemini message board +synopsis: simple Gemini message board category: Gemini # To avoid duplicated efforts in documentation and dealing with the # complications of embedding Haddock markup inside cabal files, it is # common to point users to the README.md file. -description: Basic Gemini message board +description: simple Gemini message board - see README.md for details ghc-options: - -Wall @@ -26,6 +26,8 @@ dependencies: library: source-dirs: src + verbatim: &paths + autogen-modules: Paths_gemboard executables: gemboard: @@ -37,6 +39,8 @@ executables: - -with-rtsopts=-N dependencies: - gemboard + verbatim: + <<: *paths tests: gemboard-test: @@ -49,3 +53,5 @@ tests: dependencies: - gemboard - hspec >= 2.7.10 && < 2.8 + verbatim: + <<: *paths