[commit: packages/pretty] master: Add stack build system support. (3b84566)

git at git.haskell.org git at git.haskell.org
Tue Apr 19 20:58:38 UTC 2016


Repository : ssh://git@git.haskell.org/pretty

On branch  : master
Link       : http://git.haskell.org/packages/pretty.git/commitdiff/3b84566e567b016d6cd175dd8edcb293cacb9daa

>---------------------------------------------------------------

commit 3b84566e567b016d6cd175dd8edcb293cacb9daa
Author: David Terei <code at davidterei.com>
Date:   Mon Feb 29 10:59:10 2016 -0800

    Add stack build system support.


>---------------------------------------------------------------

3b84566e567b016d6cd175dd8edcb293cacb9daa
 .gitignore |  1 +
 stack.yaml | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/.gitignore b/.gitignore
index 0477e90..56911da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ dist-install
 ghc.mk
 cabal.sandbox.config
 .cabal-sandbox
+.stack-work
diff --git a/stack.yaml b/stack.yaml
new file mode 100644
index 0000000..ea88d8a
--- /dev/null
+++ b/stack.yaml
@@ -0,0 +1,32 @@
+# For more information, see: https://github.com/commercialhaskell/stack/blob/release/doc/yaml_configuration.md
+
+# 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.5
+
+# Local packages, usually specified by relative directory name
+packages:
+- '.'
+
+# 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: []
+
+# 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: >= 0.1.4.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]



More information about the ghc-commits mailing list