18 Commits

Author SHA1 Message Date
Alessio
2670af3eb7 Add helper function to format ingredient amounts 2024-11-18 14:47:20 -08:00
Alessio
e2392efe40 Fix some sql lint errors and bump the action version again 2024-11-17 20:13:23 -08:00
Alessio
916a0135aa Bump sqlite-lint version 2024-11-17 19:50:11 -08:00
Alessio
6fd90457c8 Add required input 'schema-file' to the sqlite-lint action 2024-11-17 19:45:22 -08:00
Alessio
05f4549355 As an experiment, try using sqlite lint action 2024-11-17 19:41:24 -08:00
Alessio
5c58c111ac Add recipe sample data 2024-11-17 13:46:33 -08:00
Alessio
750be015bb Add db functions to get all recipes / base foods 2024-11-17 13:04:23 -08:00
Alessio
fd909079a3 Add tests for putting a recipe in a recipe 2024-11-10 22:34:48 -08:00
Alessio
52ed02b34c Use Units#Of in tests 2024-11-10 21:27:08 -08:00
Alessio
7d2f47b1a2 Recipes should now compute their equivalent food on save 2024-11-10 19:37:03 -08:00
Alessio
9023f13b19 Add test for units 2024-11-10 19:31:42 -08:00
Alessio
f30c50ed16 Implement units 2024-11-10 19:31:17 -08:00
Alessio
6df80e75ec Make quantity just a single float instead of a rational 2024-11-10 18:28:51 -08:00
Alessio
3bbe9687f2 Add some seed data 2024-11-10 18:20:13 -08:00
Alessio
e06f9cf25c Add function to compute an equivalent food from a recipe 2024-11-10 13:07:27 -08:00
Alessio
4a541490e4 Create the appropriate data directory during CI build 2024-11-09 23:11:27 -08:00
Alessio
7e03e15b3b Add ingredient methods 2024-11-09 23:02:18 -08:00
Alessio
981e1a663c Initial commit 2024-11-09 19:50:05 -08:00