ligo/tools/lsp/squirrel/package.yaml
Anton Myasnikov f0005c982a
[LIGO-39] Parse contracts in directory
Problem: We want to be able to parse whole directory for ligo
contracts for testing purposes.

Solution: Add `parseContracts` function that returns `ParsedContract`
data that ignores every file which is not a ligo contract.
2020-08-25 17:29:40 +03:00

91 lines
1.4 KiB
YAML

name: ligo-squirrel
dependencies:
- base
- bytestring
- containers
- data-default
- duplo
- exceptions
- fastsum
- filepath
- ghc-prim
- interpolate
- mtl
- pretty
- text
- transformers
- tree-sitter
default-extensions:
- AllowAmbiguousTypes
- ApplicativeDo
- BangPatterns
- BlockArguments
- ConstraintKinds
- DataKinds
- DeriveAnyClass
- DeriveFoldable
- DeriveFunctor
- DeriveTraversable
- DerivingStrategies
- DerivingVia
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GADTs
- GeneralisedNewtypeDeriving
- LambdaCase
- MagicHash
- MultiParamTypeClasses
- NamedFieldPuns
- OverloadedStrings
- QuasiQuotes
- ScopedTypeVariables
- StandaloneDeriving
- TemplateHaskell
- TypeApplications
- TypeFamilies
- TypeOperators
- UndecidableInstances
- ViewPatterns
ghc-options: -freverse-errors -Wall
library:
source-dirs:
- src/
include-dirs:
- vendor/pascaligo
- vendor/reasonligo
c-sources:
- vendor/pascaligo/parser.c
- vendor/reasonligo/parser.c
- vendor/camligo/parser.c
dependencies:
- haskell-lsp-types
executables:
squirrel:
dependencies:
- haskell-lsp
- hslogger
- interpolate
- lens
- ligo-squirrel
- directory
- unix
- stm
main: Main.hs
source-dirs:
- app/
ghc-options:
- -threaded
- -Wall