summaryrefslogtreecommitdiff
path: root/package.yaml
blob: c180a882019a08e54bfaf6f3a262d74231dd3118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name:     www-main
version:  0.1.0.0
license:  MIT
author:   "Chris Wells"
maintainer: "chris@mathematicaster.org"
copyright:  "2024 Chris Wells"

dependencies:
  - base >= 4.7 && < 5

language: GHC2021

ghc-options:
  - -Wall
  - -Wcompat
  - -Widentities
  - -Wincomplete-record-updates
  - -Wincomplete-uni-patterns
  - -Wmissing-home-modules
  - -Wpartial-fields
  - -Wredundant-constraints

default-extensions:
  - BangPatterns
  - DeriveGeneric
  - DeriveLift
  - DerivingStrategies
  - DefaultSignatures
  - FunctionalDependencies
  - GADTs
  - LambdaCase
  - MultiWayIf
  - OverloadedStrings
  - PatternSynonyms
  - TypeFamilies

library:
  source-dirs: src
  dependencies:
    - binary
    - blaze-html
    - bytestring
    - email-validate
    - filepath
    - hakyll
    - HaTeX
    - latex-formulae-hakyll
    - mtl
    - network-uri
    - pandoc
    - parsec
    - string-conv
    - system
    - text
    - uri-encode

executables:
  site:
    main: Main.hs
    source-dirs: app
    ghc-options:
      - -threaded
    dependencies:
      - www-main
      - hakyll
      - hakyll-images
      - hakyll-sass
      - hjsmin