Transition to Cabal

To build the site executable:

    cabal build

To run it and build the site:

    cabal run site build

Idem for `site watch`, `site clean`, etc.
This commit is contained in:
Dimitri Lozeve 2022-08-15 16:24:04 +02:00
parent 1592c1abcf
commit 0186a14db3
4 changed files with 3 additions and 92 deletions

View file

@ -1,7 +1,7 @@
cabal-version: 2.4
name: newblog
version: 0.1.0.0
build-type: Simple
cabal-version: >= 1.10
author: Dimitri Lozeve
executable site
main-is: site.hs