summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-03-12 20:24:57 -0400
committerAndrew Cady <d@jerkface.net>2019-03-12 20:24:57 -0400
commitc22860c3604695cd240d44b5bd2772c6909937e2 (patch)
tree0954cbf999a5b245b5f1d3f39a9511a51e451e43
parent045e93425e9353d5537e8c14595db0a48377184e (diff)
stackify
-rw-r--r--.gitignore2
-rw-r--r--package.yaml47
-rw-r--r--stack.yaml64
3 files changed, 113 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..def992f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
1.stack-work
2scad.cabal
diff --git a/package.yaml b/package.yaml
new file mode 100644
index 0000000..207d374
--- /dev/null
+++ b/package.yaml
@@ -0,0 +1,47 @@
1name: scad
2version: 0.1.0.0
3github: "afcady/t"
4license: BSD3
5author: "Andrew Cady"
6maintainer: "d@jerkface.net"
7copyright: "AllRightsReserved"
8
9# Metadata used when publishing your package
10# synopsis: Short description of your package
11# category: Web
12
13# To avoid duplicated efforts in documentation and dealing with the
14# complications of embedding Haddock markup inside cabal files, it is
15# common to point users to the README.md file.
16description: Please see the README on GitHub at <https://github.com/afcady/t#readme>
17
18dependencies:
19- base >= 4.7 && < 5
20- colour
21- process
22- temporary
23- lens
24- linear
25
26library:
27 source-dirs: .
28
29executables:
30 shelves:
31 main: shelves.hs
32 source-dirs: .
33 ghc-options:
34 - -threaded
35 - -rtsopts
36 - -with-rtsopts=-N
37 dependencies:
38 - scad
39
40# executables:
41# shelves:
42# main: shelves-pure.hs
43# source-dirs: .
44# ghc-options:
45# - -threaded
46# - -rtsopts
47# - -with-rtsopts=-N
diff --git a/stack.yaml b/stack.yaml
new file mode 100644
index 0000000..34a423f
--- /dev/null
+++ b/stack.yaml
@@ -0,0 +1,64 @@
1# This file was automatically generated by 'stack init'
2#
3# Some commonly used options have been documented as comments in this file.
4# For advanced use and comprehensive documentation of the format, please see:
5# https://docs.haskellstack.org/en/stable/yaml_configuration/
6
7# Resolver to choose a 'specific' stackage snapshot or a compiler version.
8# A snapshot resolver dictates the compiler version and the set of packages
9# to be used for project dependencies. For example:
10#
11# resolver: lts-3.5
12# resolver: nightly-2015-09-21
13# resolver: ghc-7.10.2
14#
15# The location of a snapshot can be provided as a file or url. Stack assumes
16# a snapshot provided as a file might change, whereas a url resource does not.
17#
18# resolver: ./custom-snapshot.yaml
19# resolver: https://example.com/snapshots/2018-01-01.yaml
20resolver: lts-13.1
21
22# User packages to be built.
23# Various formats can be used as shown in the example below.
24#
25# packages:
26# - some-directory
27# - https://example.com/foo/bar/baz-0.0.2.tar.gz
28# - location:
29# git: https://github.com/commercialhaskell/stack.git
30# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
31# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a
32# subdirs:
33# - auto-update
34# - wai
35packages:
36- .
37# Dependency packages to be pulled from upstream that are not in the resolver
38# using the same syntax as the packages field.
39# (e.g., acme-missiles-0.3)
40# extra-deps: []
41
42# Override default flag values for local packages and extra-deps
43# flags: {}
44
45# Extra package databases containing global packages
46# extra-package-dbs: []
47
48# Control whether we use the GHC we find on the path
49# system-ghc: true
50#
51# Require a specific version of stack, using version ranges
52# require-stack-version: -any # Default
53# require-stack-version: ">=1.9"
54#
55# Override the architecture used by stack, especially useful on Windows
56# arch: i386
57# arch: x86_64
58#
59# Extra directories used by stack for building
60# extra-include-dirs: [/path/to/dir]
61# extra-lib-dirs: [/path/to/dir]
62#
63# Allow a newer minor version of GHC than the snapshot specifies
64# compiler-check: newer-minor