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
|
2021-08-20 18:50:57 +03:00
|
|
|
version: 0.2.2.2 # %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
|
|
|
|
2021-11-15 21:23:17 +03:00
|
|
|
# NOTE: If you modify list of default extensions, make sure to also update .hlint.yaml file,
|
|
|
|
# specifically `arguments` field, so that it contains these same extensions.
|
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/**/*
|
2021-06-16 14:40:31 +03:00
|
|
|
- Cli/bash-completion
|
2021-02-09 15:13:51 +03:00
|
|
|
- Cli/templates/**/*
|
2019-03-29 02:37:41 +03:00
|
|
|
|
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.
|
2021-11-16 22:43:55 +03:00
|
|
|
# -fwrite-ide-info and -hiedir=.hie tell GHC to write compile-time information about the code
|
|
|
|
# to .hie directory. This information can then be used by other tools, e.g. stan (static analyzer).
|
2021-11-16 19:22:30 +03:00
|
|
|
- -fwrite-ide-info
|
|
|
|
- -hiedir=.hie
|
2019-05-05 22:46:06 +03:00
|
|
|
|
2021-07-16 16:34:12 +03:00
|
|
|
build-tools:
|
|
|
|
- alex
|
|
|
|
- happy
|
|
|
|
|
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
|
2021-03-03 11:35:27 +03:00
|
|
|
- Glob
|
2021-03-31 00:41:20 +03:00
|
|
|
- unliftio
|
2021-07-16 16:34:12 +03:00
|
|
|
- array # Used by code generated by Alex for src/Analyzer/Parser/Lexer.x
|
|
|
|
- mtl
|
2021-07-03 12:00:01 +03:00
|
|
|
- strong-path
|
2021-07-30 17:43:21 +03:00
|
|
|
- template-haskell
|
2019-02-17 16:04:24 +03:00
|
|
|
|
|
|
|
executables:
|
2021-11-11 21:37:56 +03:00
|
|
|
wasp-cli:
|
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
|
2021-01-23 00:53:36 +03:00
|
|
|
- uuid
|
|
|
|
- cryptonite
|
|
|
|
- aeson
|
|
|
|
- utf8-string
|
|
|
|
- http-conduit
|
2021-07-03 12:00:01 +03:00
|
|
|
- strong-path
|
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
|
2021-07-03 12:00:01 +03:00
|
|
|
- strong-path
|