Files
Hakysidian/hakysidian.cabal
T
sxlxc 6c59abb9cc Introduce CLI, watch server, and bundled assets
Add data-files and bundled templates/fonts/css to the package and
rename the executable to hakysidian (autogen Paths_hakysidian).
Refactor site.hs to parse CLI commands (build/clean/rebuild/watch),
start a preview server, snapshot inputs and run an incremental watch
loop, and move rules into a siteRules function. Update ChaoDoc and
filters to accept math-macros, and add favicon links to templates.
2026-03-24 20:47:46 +08:00

51 lines
1.5 KiB
Plaintext

cabal-version: 2.4
name: hakysidian
version: 0.1.0.0
build-type: Simple
data-files:
bib_style.csl
favicon.ico
css/*.css
fonts/*.otf
fonts/*.ttf
fonts/*.woff2
templates/*.html
executable hakysidian
hs-source-dirs: src
main-is: site.hs
other-modules: ChaoDoc, SideNoteHTML, Pangu, Paths_hakysidian
autogen-modules: Paths_hakysidian
build-depends: base >= 4.18
, hakyll >= 4.15
, mtl >= 2.2.2
, pandoc
, pandoc-types >= 1.22.2.1
, pandoc-sidenote
, tagsoup
, text
, containers
-- , process
-- , regex-compat
, array
, directory
, filepath
, time
, wai-app-static
, warp
-- , ghc-syntax-highlighter
-- , blaze-html >= 0.9
, megaparsec
, replace-megaparsec
ghc-options: -Weverything
-Wno-implicit-prelude
-Wno-missing-import-lists
-Wno-unused-packages
-Wno-missing-safe-haskell-mode
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-prepositive-qualified-module
-O2 -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010