summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2021-05-09 23:43:51 -0400
committerAndrew Cady <d@jerkface.net>2021-05-09 23:43:51 -0400
commit3071a162cb7cf200033e8cd39d9e27e179fde279 (patch)
treeff0042bb006e119ccb13a6ca910523475b1cde42
parentde177e14090e5bb6910cb791cf9a47f6bc0f9887 (diff)
committing old changes found in work tree
-rw-r--r--.gitignore2
-rwxr-xr-xmain.hs12
-rw-r--r--package.yaml22
-rwxr-xr-xshelf.hs2
-rw-r--r--stack.yaml3
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/
2stack.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 #-}
6import Rebase.Prelude
7import Control.Lens
8
9main :: IO ()
10main = 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 @@
1name: shelf
2version: 0.1.0.0
3
4dependencies:
5- base >= 4.7 && < 5
6- rebase
7- lens
8
9# library:
10# source-dirs: src
11
12executables:
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
diff --git a/shelf.hs b/shelf.hs
index c7b66e7..7e3fe86 100755
--- a/shelf.hs
+++ b/shelf.hs
@@ -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 @@
1resolver: lts-16.31
2packages:
3- .