c55a54796a
Three categories of fixes:
1. Multi-line steps: removed \n from pText exclusion list so newlines
within a step are consumed as regular text
2. Range timers (e.g. ~{14-18%minutes}): handle hyphen-separated
ranges in parseSimpleRational by taking the lower value
3. & in ingredient names: added & to pSingleNameChar and
pMultiNameChar char sets
4. Markdown-style # headings: added pAnyChar fallback so # followed
by invalid cookware name falls through to text consumption
5. Note detection: tightened > check to require > (with space)
or > followed by non->, preventing >> metadata from being
treated as notes
80 lines
1.5 KiB
YAML
80 lines
1.5 KiB
YAML
name: roux-server
|
|
version: 0.1.0
|
|
synopsis: Personal/family recipe management site
|
|
description: A low-friction recipe manager using Cooklang files,
|
|
with cook history tracking and search.
|
|
author: James Brechtel
|
|
maintainer: james@flipstone.com
|
|
copyright: 2026 James Brechtel
|
|
license: BSD-3-Clause
|
|
|
|
default-extensions:
|
|
- DerivingStrategies
|
|
- LambdaCase
|
|
- OverloadedStrings
|
|
- TupleSections
|
|
|
|
ghc-options:
|
|
- -Wall
|
|
- -Werror
|
|
- -Wcompat
|
|
- -Widentities
|
|
- -Wincomplete-record-updates
|
|
- -Wincomplete-uni-patterns
|
|
- -Wmissing-export-lists
|
|
- -Wmissing-home-modules
|
|
- -Wpartial-fields
|
|
- -Wredundant-constraints
|
|
|
|
dependencies:
|
|
- base >= 4.7 && < 5
|
|
- blaze-html
|
|
- blaze-markup
|
|
- bytestring
|
|
- containers
|
|
- directory
|
|
- filepath
|
|
- http-types
|
|
- optparse-applicative
|
|
- parsec
|
|
- text
|
|
- time
|
|
- wai
|
|
- warp
|
|
|
|
library:
|
|
source-dirs: src
|
|
|
|
executables:
|
|
roux-server:
|
|
main: Main.hs
|
|
source-dirs: app
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- optparse-applicative
|
|
- roux-server
|
|
- unix
|
|
check-recipes:
|
|
main: Main.hs
|
|
source-dirs: app/check-recipes
|
|
dependencies:
|
|
- directory
|
|
- filepath
|
|
- roux-server
|
|
- text
|
|
|
|
tests:
|
|
roux-server-test:
|
|
main: Spec.hs
|
|
source-dirs: test
|
|
dependencies:
|
|
- hspec
|
|
- roux-server
|
|
- tasty
|
|
- tasty-golden
|
|
- tasty-hspec
|
|
- tasty-hunit
|