wasp/waspc/package.yaml

145 lines
3.3 KiB
YAML
Raw Normal View History

# 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"
# 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.
default-extensions:
- OverloadedStrings
- TemplateHaskell
- QuasiQuotes
- ScopedTypeVariables
extra-source-files:
- README.md
- ChangeLog.md
data-dir: data/
data-files:
- Generator/templates/**/*
- Cli/bash-completion
- Cli/templates/**/*
# 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>
dependencies:
- base >= 4.7 && < 5
2019-05-05 22:46:06 +03:00
ghc-options:
- -Wall
- -optP-Wno-nonportable-include-path # To avoid warning caused by .../autogen/cabal_macros.h. on OSX.
# -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).
- -fwrite-ide-info
- -hiedir=.hie
2019-05-05 22:46:06 +03:00
build-tools:
- alex
- happy
library:
source-dirs: src
dependencies:
- filepath
2019-03-26 11:56:36 +03:00
- parsec
- mustache
- text
- aeson
- directory
- split
- unordered-containers
- path
2020-02-03 21:58:28 +03:00
- time
- exceptions
- process
- conduit
- conduit-extra
- async
- bytestring
- regex-tdfa
- utf8-string
2021-03-03 11:35:27 +03:00
- Glob
- unliftio
- array # Used by code generated by Alex for src/Analyzer/Parser/Lexer.x
- mtl
- strong-path
- template-haskell
executables:
wasp-cli:
main: Main.hs
source-dirs: cli
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
2020-01-30 19:06:19 +03:00
- waspc
- filepath
- path
- directory
- mtl
- exceptions
- fsnotify
- async
- time
- path-io
2021-01-23 00:53:36 +03:00
- uuid
- cryptonite
- aeson
- utf8-string
- http-conduit
- strong-path
benchmarks:
2020-01-30 19:06:19 +03:00
waspc-benchmarks:
main: Main.hs
source-dirs: benchmark
ghc-options:
- -threaded
2019-05-05 22:46:06 +03:00
- -rtsopts
- -with-rtsopts=-N
dependencies:
2020-01-30 19:06:19 +03:00
- waspc
- criterion
tests:
2020-01-30 19:06:19 +03:00
waspc-test:
2019-03-01 00:41:14 +03:00
main: TastyDiscoverDriver.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
2020-01-30 19:06:19 +03:00
- waspc
- tasty
- tasty-hspec
- tasty-quickcheck
- tasty-discover
- QuickCheck
2020-02-03 21:58:28 +03:00
- aeson
- filepath
- text
- mtl
- parsec
- deepseq
- path
- unordered-containers
- strong-path
- split