annotate jotto/stack.yaml @ 10:a5f50dab9fcd

add stack.yaml
author Jeff Hammel <k0scist@gmail.com>
date Mon, 01 Jan 2018 14:51:58 -0800
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
1 # This file was automatically generated by 'stack init'
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2 #
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
3 # Some commonly used options have been documented as comments in this file.
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
4 # For advanced use and comprehensive documentation of the format, please see:
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
5 # https://docs.haskellstack.org/en/stable/yaml_configuration/
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
6
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
7 # Resolver to choose a 'specific' stackage snapshot or a compiler version.
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
8 # A snapshot resolver dictates the compiler version and the set of packages
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
9 # to be used for project dependencies. For example:
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
10 #
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
11 # resolver: lts-3.5
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
12 # resolver: nightly-2015-09-21
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
13 # resolver: ghc-7.10.2
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
14 # resolver: ghcjs-0.1.0_ghc-7.10.2
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
15 # resolver:
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
16 # name: custom-snapshot
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
17 # location: "./custom-snapshot.yaml"
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
18 resolver: lts-10.2
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
19
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
20 # User packages to be built.
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
21 # Various formats can be used as shown in the example below.
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
22 #
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
23 # packages:
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
24 # - some-directory
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
25 # - https://example.com/foo/bar/baz-0.0.2.tar.gz
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
26 # - location:
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
27 # git: https://github.com/commercialhaskell/stack.git
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
28 # commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
29 # - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
30 # extra-dep: true
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
31 # subdirs:
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
32 # - auto-update
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
33 # - wai
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
34 #
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
35 # A package marked 'extra-dep: true' will only be built if demanded by a
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
36 # non-dependency (i.e. a user package), and its test suites and benchmarks
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
37 # will not be run. This is useful for tweaking upstream packages.
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
38 packages:
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
39 - .
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
40 # Dependency packages to be pulled from upstream that are not in the resolver
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
41 # (e.g., acme-missiles-0.3)
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
42 # extra-deps: []
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
43
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
44 # Override default flag values for local packages and extra-deps
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
45 # flags: {}
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
46
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
47 # Extra package databases containing global packages
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
48 # extra-package-dbs: []
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
49
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
50 # Control whether we use the GHC we find on the path
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
51 # system-ghc: true
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
52 #
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
53 # Require a specific version of stack, using version ranges
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
54 # require-stack-version: -any # Default
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
55 # require-stack-version: ">=1.6"
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
56 #
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
57 # Override the architecture used by stack, especially useful on Windows
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
58 # arch: i386
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
59 # arch: x86_64
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
60 #
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
61 # Extra directories used by stack for building
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
62 # extra-include-dirs: [/path/to/dir]
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
63 # extra-lib-dirs: [/path/to/dir]
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
64 #
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
65 # Allow a newer minor version of GHC than the snapshot specifies
a5f50dab9fcd add stack.yaml
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
66 # compiler-check: newer-minor