This commit is contained in:
Armin Friedl 2016-08-06 14:12:24 +02:00
parent ecae3b785c
commit cd6d9e1e86
2 changed files with 14 additions and 12 deletions

View file

@ -0,0 +1,5 @@
Using cabal now, update hedit.cabal as needed
https://wiki.haskell.org/Structure_of_a_Haskell_project
http://katychuang.com/cabal-guide/

View file

@ -19,7 +19,7 @@ synopsis: Editor for the property list programming language
-- description:
-- URL for the project homepage or repository.
homepage: hedit.notld
-- homepage: hedit.notld
-- The license under which the package is released.
-- license:
@ -28,7 +28,7 @@ homepage: hedit.notld
-- license-file: LICENSE
-- The package author(s).
author: prosa
-- author: prosa
-- An email address to which users can send suggestions, bug reports, and
-- patches.
@ -43,7 +43,7 @@ build-type: Simple
-- Extra files to be distributed with the package, such as examples or a
-- README.
-- extra-source-files:
extra-source-files: README.txt
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.10
@ -57,17 +57,15 @@ executable hedit
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- only extensions that are used by every module
-- else use {-# LANGUAGE ... #-} pragma in file
-- other-extensions:
other-extensions: TemplateHaskell
-- Other library packages from which modules are imported.
build-depends: base >=4.7 && <4.8,
text,
brick, vty,
microlens, microlens-th,
brick >=0.8 && <0.9, vty >=5.7 && <5.8,
text >=1.1 && <1.2,
microlens >=0.4 && <0.5, microlens-th >=0.4 && <0.5,
-- for Control.Monal.IO.Class
transformers
transformers >=0.5 && <0.6
-- Directories containing source files.
hs-source-dirs: src, src/App
@ -78,5 +76,4 @@ executable hedit
-- GHC Options use other-extensions if possible
ghc-options: -O3
-- concurrency support
-rtsopts -with-rtsopts=-N -threaded
-rtsopts -with-rtsopts=-N -threaded