2019-02-17 16:04:24 +03:00
|
|
|
# This YAML file describes your package. Stack will automatically generate a
|
|
|
|
# Cabal file when you run `stack build`. See the hpack website for help with
|
|
|
|
# this file: <https://github.com/sol/hpack>.
|
2020-01-30 19:06:19 +03:00
|
|
|
name: waspc
|
2020-11-05 18:29:12 +03:00
|
|
|
version: 0.1.7 # %WASP_VERSION% - annotation for new-release script.
|
2020-01-30 19:06:19 +03:00
|
|
|
github: "Martinsos/waspc"
|
2020-10-30 18:09:57 +03:00
|
|
|
license: MIT
|
2020-01-30 19:06:19 +03:00
|
|
|
author: "wasp-lang"
|
|
|
|
maintainer: "sosic.martin@gmail.com, matija.sosic@gmail.com"
|
|
|
|
copyright: "2020 wasp-lang"
|
2019-02-17 16:04:24 +03:00
|
|
|
|
2020-01-20 13:51:13 +03:00
|
|
|
default-extensions:
|
|
|
|
- OverloadedStrings
|
|
|
|
- TemplateHaskell
|
|
|
|
- QuasiQuotes
|
|
|
|
- ScopedTypeVariables
|
2019-05-20 23:33:25 +03:00
|
|
|
|
2019-02-17 16:04:24 +03:00
|
|
|
extra-source-files:
|
2019-03-28 21:16:07 +03:00
|
|
|
- README.md
|
|
|
|
- ChangeLog.md
|
2019-02-17 16:04:24 +03:00
|
|
|
|
2019-03-29 02:37:41 +03:00
|
|
|
data-dir: data/
|
|
|
|
data-files:
|
|
|
|
- Generator/templates/**/*
|
|
|
|
|
2019-02-17 16:04:24 +03:00
|
|
|
# Metadata used when publishing your package
|
|
|
|
# synopsis: Short description of your package
|
|
|
|
# category: Web
|
|
|
|
|
|
|
|
# To avoid duplicated efforts in documentation and dealing with the
|
|
|
|
# complications of embedding Haddock markup inside cabal files, it is
|
|
|
|
# common to point users to the README.md file.
|
2020-01-30 19:06:19 +03:00
|
|
|
description: Please see the README on GitHub at <https://github.com/Martinsos/waspc#readme>
|
2019-02-17 16:04:24 +03:00
|
|
|
|
|
|
|
dependencies:
|
2019-03-28 21:16:07 +03:00
|
|
|
- base >= 4.7 && < 5
|
2019-02-17 16:04:24 +03:00
|
|
|
|
2019-05-05 22:46:06 +03:00
|
|
|
ghc-options:
|
|
|
|
- -Wall
|
2020-09-16 19:11:00 +03:00
|
|
|
- -optP-Wno-nonportable-include-path # To avoid warning caused by .../autogen/cabal_macros.h. on OSX.
|
2019-05-05 22:46:06 +03:00
|
|
|
|
2019-02-17 16:04:24 +03:00
|
|
|
library:
|
|
|
|
source-dirs: src
|
2019-03-28 21:16:07 +03:00
|
|
|
dependencies:
|
|
|
|
- filepath
|
2019-03-26 11:56:36 +03:00
|
|
|
- parsec
|
2019-03-29 02:37:41 +03:00
|
|
|
- mustache
|
|
|
|
- text
|
|
|
|
- aeson
|
|
|
|
- directory
|
2019-05-14 21:50:49 +03:00
|
|
|
- split
|
2020-01-14 14:59:56 +03:00
|
|
|
- unordered-containers
|
2020-01-20 13:51:13 +03:00
|
|
|
- path
|
2020-02-03 21:58:28 +03:00
|
|
|
- time
|
2020-07-28 17:52:03 +03:00
|
|
|
- exceptions
|
2020-09-07 22:55:13 +03:00
|
|
|
- process
|
2020-09-10 17:33:26 +03:00
|
|
|
- conduit
|
|
|
|
- conduit-extra
|
|
|
|
- async
|
|
|
|
- bytestring
|
2020-09-15 00:18:04 +03:00
|
|
|
- regex-tdfa
|
2020-09-25 15:36:31 +03:00
|
|
|
- utf8-string
|
2019-02-17 16:04:24 +03:00
|
|
|
|
|
|
|
executables:
|
2020-09-07 22:55:13 +03:00
|
|
|
wasp:
|
2019-02-17 16:04:24 +03:00
|
|
|
main: Main.hs
|
2020-09-07 22:55:13 +03:00
|
|
|
source-dirs: cli
|
2019-02-17 16:04:24 +03:00
|
|
|
ghc-options:
|
2019-03-28 21:16:07 +03:00
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
2019-02-17 16:04:24 +03:00
|
|
|
dependencies:
|
2020-01-30 19:06:19 +03:00
|
|
|
- waspc
|
2019-12-17 23:40:05 +03:00
|
|
|
- filepath
|
2020-01-20 13:51:13 +03:00
|
|
|
- path
|
|
|
|
- directory
|
2020-09-07 22:55:13 +03:00
|
|
|
- mtl
|
|
|
|
- exceptions
|
2020-09-11 18:31:17 +03:00
|
|
|
- fsnotify
|
|
|
|
- async
|
|
|
|
- time
|
2020-09-18 17:14:14 +03:00
|
|
|
- path-io
|
2019-02-17 16:04:24 +03:00
|
|
|
|
|
|
|
benchmarks:
|
2020-01-30 19:06:19 +03:00
|
|
|
waspc-benchmarks:
|
2019-02-17 16:04:24 +03:00
|
|
|
main: Main.hs
|
|
|
|
source-dirs: benchmark
|
|
|
|
ghc-options:
|
2019-03-28 21:16:07 +03:00
|
|
|
- -threaded
|
2019-05-05 22:46:06 +03:00
|
|
|
- -rtsopts
|
2019-03-28 21:16:07 +03:00
|
|
|
- -with-rtsopts=-N
|
2019-02-17 16:04:24 +03:00
|
|
|
dependencies:
|
2020-01-30 19:06:19 +03:00
|
|
|
- waspc
|
2019-03-28 21:16:07 +03:00
|
|
|
- criterion
|
2019-02-17 16:04:24 +03:00
|
|
|
|
|
|
|
tests:
|
2020-01-30 19:06:19 +03:00
|
|
|
waspc-test:
|
2019-03-01 00:41:14 +03:00
|
|
|
main: TastyDiscoverDriver.hs
|
2019-02-17 16:04:24 +03:00
|
|
|
source-dirs: test
|
|
|
|
ghc-options:
|
2019-03-28 21:16:07 +03:00
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
2019-02-17 16:04:24 +03:00
|
|
|
dependencies:
|
2020-01-30 19:06:19 +03:00
|
|
|
- waspc
|
2019-03-28 21:16:07 +03:00
|
|
|
- tasty
|
|
|
|
- tasty-hspec
|
|
|
|
- tasty-quickcheck
|
|
|
|
- tasty-discover
|
|
|
|
- QuickCheck
|
2020-02-03 21:58:28 +03:00
|
|
|
- aeson
|
|
|
|
- filepath
|
|
|
|
- text
|
|
|
|
- mtl
|
2019-05-05 18:54:51 +03:00
|
|
|
- parsec
|
2020-01-15 14:45:50 +03:00
|
|
|
- deepseq
|
2020-01-20 13:51:13 +03:00
|
|
|
- path
|
2020-09-25 15:36:31 +03:00
|
|
|
- unordered-containers
|