From 722b1d44d986a8e8dde5312b2e2099b8e18555f5 Mon Sep 17 00:00:00 2001 From: Raimundo Henriques Date: Tue, 19 Dec 2023 15:03:57 +0000 Subject: [PATCH 1/3] feat: update Makefile --- spec/v2/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/spec/v2/Makefile b/spec/v2/Makefile index ab9bca8..a145da0 100644 --- a/spec/v2/Makefile +++ b/spec/v2/Makefile @@ -1,12 +1,13 @@ DIAGRAMS := $(patsubst %.mmd,%.svg,$(wildcard diagrams/*.mmd)) OUTDIR := ../upload/v2 -MMDC := ./node_modules/.bin/mmdc +MMDC := mmdc +FILES := $(shell ls) all: index.html clean: rm -f docs/index.html docs/diagrams/*.svg index.html $(DIAGRAMS) - rm -rf node_modules + rm -rf node_modules/ publish: index.html mkdir -p $(OUTDIR)/diagrams @@ -23,6 +24,8 @@ serve: $(DIAGRAMS) bikeshed serve index.bs $(MMDC): - npm install @mermaid-js/mermaid-cli + npm install -g @mermaid-js/mermaid-cli + +# $(DIAGRAMS): $(MMDC) .PHONY: publish clean serve From aad798ba7fc57b0dd9d576ef2a49868de0aaf368 Mon Sep 17 00:00:00 2001 From: Raimundo Henriques Date: Tue, 19 Dec 2023 17:11:49 +0000 Subject: [PATCH 2/3] feat: use text macro for current version --- spec/v2/index.bs | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/spec/v2/index.bs b/spec/v2/index.bs index 7e00c67..e7a8398 100644 --- a/spec/v2/index.bs +++ b/spec/v2/index.bs @@ -1,5 +1,6 @@