e907a03b09
- Add full Cooklang (.cook) recipe data model to Roux.Types: Recipe, Section, Step, StepItem (with StepText/StepIngredient/ StepCookware/StepTimer/StepRecipeRef/StepNote/StepComment/StepBreak), Ingredient, Cookware, Timer, RecipeRef, Quantity, Duration, Metadata - Enable DerivingStrategies extension project-wide - Add containers to build dependencies
66 lines
1.2 KiB
YAML
66 lines
1.2 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:
|
|
- roux-server
|
|
- tasty
|
|
- tasty-hunit
|