diff options
author | Andrew Cady <d@jerkface.net> | 2021-05-09 23:43:51 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2021-05-09 23:43:51 -0400 |
commit | 3071a162cb7cf200033e8cd39d9e27e179fde279 (patch) | |
tree | ff0042bb006e119ccb13a6ca910523475b1cde42 | |
parent | de177e14090e5bb6910cb791cf9a47f6bc0f9887 (diff) |
committing old changes found in work tree
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | main.hs | 12 | ||||
-rw-r--r-- | package.yaml | 22 | ||||
-rwxr-xr-x | shelf.hs | 2 | ||||
-rw-r--r-- | stack.yaml | 3 |
5 files changed, 28 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..48f0299 --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1,2 @@ | |||
1 | .stack-work/ | ||
2 | stack.yaml.lock | ||
diff --git a/main.hs b/main.hs deleted file mode 100755 index a3b1dcb..0000000 --- a/main.hs +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #!/usr/bin/env stack | ||
2 | {- stack script --resolver lts-16.27 --install-ghc | ||
3 | --ghc-options -Wall --ghc-options -Wno-unused-imports -} | ||
4 | {-# language NoImplicitPrelude #-} | ||
5 | {-# language DuplicateRecordFields #-} | ||
6 | import Rebase.Prelude | ||
7 | import Control.Lens | ||
8 | |||
9 | main :: IO () | ||
10 | main = do | ||
11 | return () | ||
12 | |||
diff --git a/package.yaml b/package.yaml new file mode 100644 index 0000000..beab5e2 --- /dev/null +++ b/package.yaml | |||
@@ -0,0 +1,22 @@ | |||
1 | name: shelf | ||
2 | version: 0.1.0.0 | ||
3 | |||
4 | dependencies: | ||
5 | - base >= 4.7 && < 5 | ||
6 | - rebase | ||
7 | - lens | ||
8 | |||
9 | # library: | ||
10 | # source-dirs: src | ||
11 | |||
12 | executables: | ||
13 | test-exe: | ||
14 | main: shelf.hs | ||
15 | # source-dirs: app | ||
16 | ghc-options: | ||
17 | - -threaded | ||
18 | - -rtsopts | ||
19 | - -with-rtsopts=-N | ||
20 | # dependencies: | ||
21 | # - shelf | ||
22 | |||
@@ -1,5 +1,5 @@ | |||
1 | #!/usr/bin/env stack | 1 | #!/usr/bin/env stack |
2 | {- stack script --resolver lts-16.27 --install-ghc | 2 | {- stack script --resolver lts-16.31 --install-ghc |
3 | --ghc-options -Wall --ghc-options -Wno-unused-imports --ghc-options -Wno-name-shadowing -} | 3 | --ghc-options -Wall --ghc-options -Wno-unused-imports --ghc-options -Wno-name-shadowing -} |
4 | {-# language NoImplicitPrelude #-} | 4 | {-# language NoImplicitPrelude #-} |
5 | {-# language DuplicateRecordFields #-} | 5 | {-# language DuplicateRecordFields #-} |
diff --git a/stack.yaml b/stack.yaml new file mode 100644 index 0000000..9c8b2f7 --- /dev/null +++ b/stack.yaml | |||
@@ -0,0 +1,3 @@ | |||
1 | resolver: lts-16.31 | ||
2 | packages: | ||
3 | - . | ||