fixed sdist problems

This commit is contained in:
Jonathan Lamothe 2021-10-26 12:46:03 -04:00
parent ca1f7c771c
commit 842233467c
2 changed files with 13 additions and 4 deletions

View File

@ -6,8 +6,8 @@ cabal-version: 2.2
name: gemboard name: gemboard
version: 0.0.0 version: 0.0.0
synopsis: Basic Gemini message board synopsis: simple Gemini message board
description: Basic Gemini message board description: simple Gemini message board - see README.md for details
category: Gemini category: Gemini
author: Jonathan Lamothe author: Jonathan Lamothe
maintainer: jonathan@jlamothe.net maintainer: jonathan@jlamothe.net
@ -30,6 +30,7 @@ library
build-depends: build-depends:
base >=4.7 && <5 base >=4.7 && <5
default-language: Haskell2010 default-language: Haskell2010
autogen-modules: Paths_gemboard
executable gemboard executable gemboard
main-is: Main.hs main-is: Main.hs
@ -42,6 +43,7 @@ executable gemboard
base >=4.7 && <5 base >=4.7 && <5
, gemboard , gemboard
default-language: Haskell2010 default-language: Haskell2010
autogen-modules: Paths_gemboard
test-suite gemboard-test test-suite gemboard-test
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
@ -56,3 +58,4 @@ test-suite gemboard-test
, gemboard , gemboard
, hspec >=2.7.10 && <2.8 , hspec >=2.7.10 && <2.8
default-language: Haskell2010 default-language: Haskell2010
autogen-modules: Paths_gemboard

View File

@ -10,13 +10,13 @@ extra-source-files:
- ChangeLog.md - ChangeLog.md
# Metadata used when publishing your package # Metadata used when publishing your package
synopsis: Basic Gemini message board synopsis: simple Gemini message board
category: Gemini category: Gemini
# To avoid duplicated efforts in documentation and dealing with the # To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is # complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file. # 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: ghc-options:
- -Wall - -Wall
@ -26,6 +26,8 @@ dependencies:
library: library:
source-dirs: src source-dirs: src
verbatim: &paths
autogen-modules: Paths_gemboard
executables: executables:
gemboard: gemboard:
@ -37,6 +39,8 @@ executables:
- -with-rtsopts=-N - -with-rtsopts=-N
dependencies: dependencies:
- gemboard - gemboard
verbatim:
<<: *paths
tests: tests:
gemboard-test: gemboard-test:
@ -49,3 +53,5 @@ tests:
dependencies: dependencies:
- gemboard - gemboard
- hspec >= 2.7.10 && < 2.8 - hspec >= 2.7.10 && < 2.8
verbatim:
<<: *paths