Separate a description from the synopsis + remove duplicate dependencies versions (DRY)

This commit is contained in:
Tissevert 2020-12-12 12:05:31 +01:00
parent 82fcaac8f0
commit 0cad5ec449

View file

@ -4,8 +4,12 @@ cabal-version: >=1.10
name: SJW name: SJW
version: 0.1.2.2 version: 0.1.2.2
synopsis: The Simple Javascript Wrench is a very simple tool to pack several JS «modules» into a single script. synopsis: The Simple Javascript Wrench
-- description: description:
SJW is a very simple tool to pack several JS «modules» into a single script.
It doesn't really do proper compilation work (yet) except resolving the
modules dependencies and detecting import loops but it provides each module
with an independent execution context in the resulting script.
homepage: https://git.marvid.fr/Tissevert/SJW homepage: https://git.marvid.fr/Tissevert/SJW
-- bug-reports: -- bug-reports:
license: BSD3 license: BSD3
@ -43,11 +47,11 @@ executable sjw
main-is: src/Main.hs main-is: src/Main.hs
other-modules: Paths_SJW other-modules: Paths_SJW
-- other-extensions: -- other-extensions:
build-depends: attoparsec >= 0.13.2 && < 0.14 build-depends: attoparsec
, base >=4.9 && <4.15 , base
, optparse-applicative >= 0.15 && < 0.17 , optparse-applicative >= 0.15 && < 0.17
, SJW , SJW
, text >= 1.2.3 && < 1.3 , text
default-language: Haskell2010 default-language: Haskell2010
ghc-options: -Wall ghc-options: -Wall