From 3951a63d9393ed7e1381bbb9da95dfb2dd2d6b13 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 14 Oct 2024 00:24:15 +0200 Subject: book intermediate representation and packets for sending to client --- data/.gitignore | 1 + data/makefile | 7 +++++-- data/recipes/.gitignore | 1 - 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 data/.gitignore (limited to 'data') diff --git a/data/.gitignore b/data/.gitignore new file mode 100644 index 00000000..08711f05 --- /dev/null +++ b/data/.gitignore @@ -0,0 +1 @@ +/book.json diff --git a/data/makefile b/data/makefile index 4c948a81..a5041803 100644 --- a/data/makefile +++ b/data/makefile @@ -14,11 +14,14 @@ # along with this program. If not, see . # SETS = default none anticurry -all: $(patsubst %,recipes/%.yaml,$(SETS)) +ALL = $(patsubst %,recipes/%.yaml,$(SETS)) book.json +all: $(ALL) graphs: recipes/default.svg JSR = deno run +book.json: ../book/book.json + cp $< $@ recipes/none.yaml: echo > $@ recipes/anticurry.yaml: recipes/default.yaml @@ -33,4 +36,4 @@ recipes/%.svg: recipes/%.gv.txt dot -Tsvg -Kdot >$@<$< clean: - $(RM) -r recipes/*.{yaml,gv.txt,svg} + $(RM) $(ALL) diff --git a/data/recipes/.gitignore b/data/recipes/.gitignore index a9e52ca2..77c36404 100644 --- a/data/recipes/.gitignore +++ b/data/recipes/.gitignore @@ -1,4 +1,3 @@ *.yaml -!newRecipes.yaml *.gv.txt *.svg -- cgit v1.2.3-70-g09d2