2024-09-12 19:49:58 +02:00
|
|
|
cabal-version: 3.8
|
2024-09-11 22:32:14 +02:00
|
|
|
name: byg
|
|
|
|
version: 0.1.0.0
|
|
|
|
synopsis: The website builder for mad
|
|
|
|
license: AGPL-3.0-or-later
|
|
|
|
license-file: COPYING
|
|
|
|
author: Niels G. W. Serup
|
|
|
|
maintainer: ngws@metanohi.name
|
|
|
|
build-type: Simple
|
|
|
|
extra-doc-files: README.md
|
|
|
|
|
2024-09-15 20:35:15 +02:00
|
|
|
common common
|
2024-09-11 22:32:14 +02:00
|
|
|
ghc-options: -Wall
|
2024-09-28 13:57:53 +02:00
|
|
|
default-language: GHC2021
|
|
|
|
default-extensions:
|
|
|
|
OverloadedStrings
|
|
|
|
LambdaCase
|
2024-09-11 22:32:14 +02:00
|
|
|
|
2024-09-21 17:31:57 +02:00
|
|
|
library
|
|
|
|
import: common
|
|
|
|
hs-source-dirs: src
|
|
|
|
exposed-modules:
|
2024-11-09 22:55:42 +01:00
|
|
|
Byg.Types
|
|
|
|
Byg.DependencyGenerator
|
|
|
|
Byg.Functions
|
|
|
|
Byg.DependencyFormatter
|
|
|
|
Byg.DependencyRunner
|
|
|
|
other-modules:
|
2024-11-09 22:44:46 +01:00
|
|
|
Byg.Types.Token
|
|
|
|
Byg.Types.Value
|
|
|
|
Byg.Types.Functions
|
|
|
|
Byg.Types.Dependency
|
|
|
|
Byg.Types.Date
|
|
|
|
Byg.Functions.Image
|
|
|
|
Byg.Functions.Pandoc
|
|
|
|
Byg.Functions.Paths
|
|
|
|
Byg.Functions.Template
|
|
|
|
Byg.Functions.Text
|
|
|
|
Byg.Functions.Date
|
|
|
|
Byg.Functions.Atom
|
2024-09-15 20:35:48 +02:00
|
|
|
build-depends:
|
2024-09-28 13:57:53 +02:00
|
|
|
base >=4.14 && <4.20
|
2024-09-15 20:35:48 +02:00
|
|
|
, mtl
|
2024-09-27 20:39:27 +02:00
|
|
|
, containers
|
2024-09-24 22:14:47 +02:00
|
|
|
, text
|
2024-09-28 13:57:53 +02:00
|
|
|
, directory
|
2024-11-07 23:20:28 +01:00
|
|
|
, time
|
2024-09-28 13:57:53 +02:00
|
|
|
, blaze-html
|
2024-10-11 22:14:28 +02:00
|
|
|
, pandoc-types
|
2024-09-28 13:57:53 +02:00
|
|
|
, pandoc
|
|
|
|
, JuicyPixels
|
|
|
|
, JuicyPixels-stbir
|
2024-09-21 17:31:57 +02:00
|
|
|
|
|
|
|
executable byg
|
|
|
|
import: common
|
2024-11-09 22:44:46 +01:00
|
|
|
hs-source-dirs: app
|
|
|
|
main-is: Main.hs
|
|
|
|
other-modules:
|
|
|
|
SiteGenerator
|
2024-09-21 17:31:57 +02:00
|
|
|
build-depends:
|
2024-09-28 13:57:53 +02:00
|
|
|
base >=4.14 && <4.20
|
2024-09-21 17:31:57 +02:00
|
|
|
, byg
|
2024-10-30 21:53:57 +01:00
|
|
|
, text
|