added hpack
This commit is contained in:
parent
20caf8f394
commit
1d6d51c75b
2 changed files with 193 additions and 79 deletions
154
lish.cabal
154
lish.cabal
|
@ -1,19 +1,18 @@
|
|||
-- This file has been generated from package.yaml by hpack version 0.17.0.
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
|
||||
name: lish
|
||||
version: 0.1.0.0
|
||||
-- synopsis:
|
||||
description: LISP Shell written in Haskell
|
||||
|
||||
license: ISC
|
||||
license-file: LICENSE
|
||||
author: Yann Esposito
|
||||
maintainer: yann.esposito@gmail.com
|
||||
copyright: © 2017 Yann Esposito
|
||||
homepage: https://github.com/yogsototh/lish
|
||||
synopsis: LISP flavoured shell
|
||||
description: See README.md at <https://github.com/yogsototh/lish#readme>
|
||||
category: Development
|
||||
homepage: https://github.com/yogsototh/lish#readme
|
||||
bug-reports: https://github.com/yogsototh/lish/issues
|
||||
|
||||
category: Test
|
||||
maintainer: Yann Esposito <yann.esposito@gmail.com>
|
||||
license: PublicDomain
|
||||
license-file: LICENSE
|
||||
build-type: Simple
|
||||
stability: alpha (experimental)
|
||||
cabal-version: >= 1.10
|
||||
|
||||
extra-source-files:
|
||||
|
@ -25,18 +24,11 @@ source-repository head
|
|||
location: https://github.com/yogsototh/lish
|
||||
|
||||
library
|
||||
default-language: Haskell2010
|
||||
hs-source-dirs:
|
||||
src
|
||||
ghc-options: -Wall -Werror -O2
|
||||
hs-source-dirs: src
|
||||
exposed-modules: Lib
|
||||
, Lish.Balanced
|
||||
, Lish.Core
|
||||
, Lish.Eval
|
||||
, Lish.InternalCommands
|
||||
, Lish.Parser
|
||||
, Lish.Types
|
||||
, Data.Stack
|
||||
build-depends: base >= 4.8 && < 5
|
||||
build-depends:
|
||||
base >= 4.8 && < 5
|
||||
, containers
|
||||
, data-fix
|
||||
, haskeline
|
||||
|
@ -45,48 +37,102 @@ library
|
|||
, protolude
|
||||
, process
|
||||
, text
|
||||
|
||||
executable lish-exe
|
||||
exposed-modules:
|
||||
Data.Stack
|
||||
Lib
|
||||
Lish.Balanced
|
||||
Lish.Core
|
||||
Lish.Eval
|
||||
Lish.InternalCommands
|
||||
Lish.Parser
|
||||
Lish.Types
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -Werror -dynamic -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
hs-source-dirs: src-exe
|
||||
main-is: Main.hs
|
||||
build-depends: base >= 4.8 && < 5
|
||||
, lish
|
||||
|
||||
test-suite lish-test
|
||||
type: exitcode-stdio-1.0
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
hs-source-dirs: src-test
|
||||
executable lish
|
||||
main-is: Main.hs
|
||||
other-modules: Lish.Test.Parser
|
||||
build-depends: base >= 4.8 && < 5
|
||||
, tasty >= 0.11
|
||||
, tasty-hunit >= 0.9
|
||||
, tasty-smallcheck >= 0.8
|
||||
, lish
|
||||
, protolude
|
||||
hs-source-dirs:
|
||||
src-exe
|
||||
ghc-options: -Wall -Werror -O2 -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
build-depends:
|
||||
base >= 4.8 && < 5
|
||||
, containers
|
||||
, data-fix
|
||||
, haskeline
|
||||
, parsec >= 3 && < 4
|
||||
, pipes
|
||||
, protolude
|
||||
, process
|
||||
, text
|
||||
, lish
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite lish-benchmark
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Main.hs
|
||||
hs-source-dirs:
|
||||
src-benchmark
|
||||
ghc-options: -Wall -Werror -O2 -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
build-depends:
|
||||
base >= 4.8 && < 5
|
||||
, containers
|
||||
, data-fix
|
||||
, haskeline
|
||||
, parsec >= 3 && < 4
|
||||
, pipes
|
||||
, protolude
|
||||
, process
|
||||
, text
|
||||
, lish
|
||||
, base >= 4.8 && < 5
|
||||
, criterion >= 1.1
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite lish-doctest
|
||||
type: exitcode-stdio-1.0
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
hs-source-dirs: src-doctest
|
||||
main-is: Main.hs
|
||||
build-depends: base >= 4.8 && < 5
|
||||
hs-source-dirs:
|
||||
src-doctest
|
||||
ghc-options: -Wall -Werror -O2 -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
build-depends:
|
||||
base >= 4.8 && < 5
|
||||
, containers
|
||||
, data-fix
|
||||
, haskeline
|
||||
, parsec >= 3 && < 4
|
||||
, pipes
|
||||
, protolude
|
||||
, process
|
||||
, text
|
||||
, lish
|
||||
, base >= 4.8 && < 5
|
||||
, doctest >=0.10
|
||||
, Glob >= 0.7
|
||||
, QuickCheck >= 2.5
|
||||
, lish
|
||||
|
||||
benchmark lish-benchmark
|
||||
type: exitcode-stdio-1.0
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
hs-source-dirs: src-benchmark
|
||||
|
||||
test-suite lish-test
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Main.hs
|
||||
build-depends: base >= 4.8 && < 5
|
||||
, criterion >= 1.1
|
||||
hs-source-dirs:
|
||||
src-test
|
||||
ghc-options: -Wall -Werror -O2 -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
build-depends:
|
||||
base >= 4.8 && < 5
|
||||
, containers
|
||||
, data-fix
|
||||
, haskeline
|
||||
, parsec >= 3 && < 4
|
||||
, pipes
|
||||
, protolude
|
||||
, process
|
||||
, text
|
||||
, lish
|
||||
, base >= 4.8 && < 5
|
||||
, tasty >= 0.11
|
||||
, tasty-hunit >= 0.9
|
||||
, tasty-smallcheck >= 0.8
|
||||
, protolude
|
||||
, data-fix
|
||||
other-modules:
|
||||
Lish.Test.Parser
|
||||
default-language: Haskell2010
|
||||
|
|
68
package.yaml
Normal file
68
package.yaml
Normal file
|
@ -0,0 +1,68 @@
|
|||
name: lish
|
||||
version: 0.1.0.0
|
||||
synopsis: LISP flavoured shell
|
||||
description: See README.md at <https://github.com/yogsototh/lish#readme>
|
||||
maintainer: Yann Esposito <yann.esposito@gmail.com>
|
||||
license: PublicDomain
|
||||
github: yogsototh/lish
|
||||
category: Development
|
||||
extra-source-files:
|
||||
- README.md
|
||||
- stack.yaml
|
||||
|
||||
ghc-options: -Wall -Werror -O2
|
||||
|
||||
dependencies:
|
||||
- base >= 4.8 && < 5
|
||||
- containers
|
||||
- data-fix
|
||||
- haskeline
|
||||
- parsec >= 3 && < 4
|
||||
- pipes
|
||||
- protolude
|
||||
- process
|
||||
- text
|
||||
|
||||
library:
|
||||
source-dirs: src
|
||||
|
||||
executables:
|
||||
lish:
|
||||
ghc-options: -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
main: Main.hs
|
||||
source-dirs: src-exe
|
||||
dependencies:
|
||||
- lish
|
||||
|
||||
tests:
|
||||
lish-test:
|
||||
source-dirs: src-test
|
||||
main: Main.hs
|
||||
ghc-options: -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
dependencies:
|
||||
- lish
|
||||
- base >= 4.8 && < 5
|
||||
- tasty >= 0.11
|
||||
- tasty-hunit >= 0.9
|
||||
- tasty-smallcheck >= 0.8
|
||||
- protolude
|
||||
- data-fix
|
||||
lish-doctest:
|
||||
source-dirs: src-doctest
|
||||
main: Main.hs
|
||||
ghc-options: -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
dependencies:
|
||||
- lish
|
||||
- base >= 4.8 && < 5
|
||||
- doctest >=0.10
|
||||
- Glob >= 0.7
|
||||
- QuickCheck >= 2.5
|
||||
lish-benchmark:
|
||||
source-dirs: src-benchmark
|
||||
main: Main.hs
|
||||
ghc-options: -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
dependencies:
|
||||
- lish
|
||||
- base >= 4.8 && < 5
|
||||
- criterion >= 1.1
|
||||
|
Loading…
Reference in a new issue