summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-10-14 00:24:15 +0200
committermetamuffin <metamuffin@disroot.org>2024-10-14 00:24:15 +0200
commit3951a63d9393ed7e1381bbb9da95dfb2dd2d6b13 (patch)
treecd586f961075c8d5f8d2ac583dfbc257d82efca5 /data
parent3b0bb4132eb8d3a0fd3438f4f344e8687a5dd71e (diff)
downloadhurrycurry-3951a63d9393ed7e1381bbb9da95dfb2dd2d6b13.tar
hurrycurry-3951a63d9393ed7e1381bbb9da95dfb2dd2d6b13.tar.bz2
hurrycurry-3951a63d9393ed7e1381bbb9da95dfb2dd2d6b13.tar.zst
book intermediate representation and packets for sending to client
Diffstat (limited to 'data')
-rw-r--r--data/.gitignore1
-rw-r--r--data/makefile7
-rw-r--r--data/recipes/.gitignore1
3 files changed, 6 insertions, 3 deletions
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 <https://www.gnu.org/licenses/>.
#
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