From cd6d9e1e86ce0658c1939be49667a484b2b8ea78 Mon Sep 17 00:00:00 2001 From: Armin Friedl Date: Sat, 6 Aug 2016 14:12:24 +0200 Subject: [PATCH] README --- README.txt | 5 +++++ hedit.cabal | 21 +++++++++------------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/README.txt b/README.txt index e69de29..8b70077 100644 --- a/README.txt +++ b/README.txt @@ -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/ + diff --git a/hedit.cabal b/hedit.cabal index 64b6031..642505c 100644 --- a/hedit.cabal +++ b/hedit.cabal @@ -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 - \ No newline at end of file + -rtsopts -with-rtsopts=-N -threaded \ No newline at end of file