Files
roux/package.yaml
T
jbrechtel 235adce596 Add minimal Cooklang parser with first tests
- Create Roux.Parser with parseCookFile (splits paragraphs, treats
  each as a plain-text step, no metadata parsing yet)
- Add emptyMetadata to Roux.Types for convenience
- Add test dependencies: hspec, tasty-golden, tasty-hspec
- Add ParserSpec with 4 tests covering single step, multiple steps,
  empty input, and whitespace trimming
- Wire ParserSpec into test runner via tasty-hspec
2026-05-18 22:21:32 -04:00

69 lines
1.3 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
- OverloadedStrings
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
- 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
tests:
roux-server-test:
main: Spec.hs
source-dirs: test
dependencies:
- hspec
- roux-server
- tasty
- tasty-golden
- tasty-hspec
- tasty-hunit