Skip to content

Commit

Permalink
Don't check in stack.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Lysxia committed Apr 26, 2020
1 parent b109e54 commit acf82af
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 69 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ tests/Main
_cache
_store

stack.yaml
stack*.yaml.lock

.stack-work/
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ This iteration began in November 2019. The previous site had been maintained for

Because the site is deployed as static files, building is a 2-step process. First we build the executable (simply called `site`) and then we run `site` to build the website from the source files.

The compiler _should_ be able to build with just
First set up a `stack.yaml` file for `stack`. We have one that you can copy:

cp stack-default.yaml stack.yaml

The compiler _should_ then be able to build with just

stack build

Expand Down
4 changes: 2 additions & 2 deletions plclub.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ library
hs-source-dirs: lib
default-language: Haskell2010
build-depends: base == 4.*
, hakyll == 4.12.*
, hakyll >= 4.12 && < 4.14
--- Below is needed only for hackery
, temporary == 1.3.*
, directory == 1.3.*
, process == 1.6.*
, filepath == 1.4.*
, pandoc-types == 1.17.*
, pandoc == 2.2.*
, pandoc
, text == 1.2.*

executable site
Expand Down
5 changes: 5 additions & 0 deletions stack-default.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resolver: lts-14.27 # GHC 8.6.5
packages:
- .
extra-deps:
- hakyll-4.13.3.0
66 changes: 0 additions & 66 deletions stack.yaml

This file was deleted.

0 comments on commit acf82af

Please sign in to comment.