mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-29 16:54:42 +03:00
Add stack.yml project definition
This commit is contained in:
parent
08391a64c4
commit
980e6c4999
10
README.md
10
README.md
@ -83,6 +83,8 @@ cygwin only.
|
||||
|
||||
## Under NixOS
|
||||
|
||||
### Using cabal
|
||||
|
||||
After installing ncurses to user env.
|
||||
|
||||
~~~
|
||||
@ -91,6 +93,14 @@ LIBRARY_PATH=$HOME/.nix-profile/lib/ cabal build
|
||||
LIBRARY_PATH=$HOME/.nix-profile/lib/ cabal test
|
||||
~~~
|
||||
|
||||
### Using stack
|
||||
|
||||
~~~
|
||||
stack build
|
||||
stack test
|
||||
stack install
|
||||
~~~
|
||||
|
||||
## Coverage
|
||||
|
||||
As of last testing, profiling causes issues with coverage when enabled. To
|
||||
|
40
stack.yaml
Normal file
40
stack.yaml
Normal file
@ -0,0 +1,40 @@
|
||||
# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration.html
|
||||
|
||||
# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
|
||||
resolver: lts-5.11
|
||||
|
||||
# Local packages, usually specified by relative directory name
|
||||
packages:
|
||||
- '.'
|
||||
- test/
|
||||
|
||||
# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
|
||||
extra-deps: []
|
||||
|
||||
# Override default flag values for local packages and extra-deps
|
||||
flags: {}
|
||||
|
||||
# Extra package databases containing global packages
|
||||
extra-package-dbs: []
|
||||
|
||||
nix:
|
||||
enable: true
|
||||
packages: [ncurses]
|
||||
|
||||
# Control whether we use the GHC we find on the path
|
||||
# system-ghc: true
|
||||
|
||||
# Require a specific version of stack, using version ranges
|
||||
# require-stack-version: -any # Default
|
||||
# require-stack-version: >= 1.0.0
|
||||
|
||||
# Override the architecture used by stack, especially useful on Windows
|
||||
# arch: i386
|
||||
# arch: x86_64
|
||||
|
||||
# Extra directories used by stack for building
|
||||
# extra-include-dirs: [/path/to/dir]
|
||||
# extra-lib-dirs: [/path/to/dir]
|
||||
|
||||
# Allow a newer minor version of GHC than the snapshot specifies
|
||||
# compiler-check: newer-minor
|
Loading…
Reference in New Issue
Block a user