Skip to content

Commit

Permalink
Fix running pgraph in manual
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtich committed May 16, 2024
1 parent f6039c8 commit e8ffbc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion manual/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
default:
quarto render

pgraph=npm run --silent pgraph --

images: img/data-flow.mmd

img/data-flow.mmd: data-flow.pg
npm run --silent -- pgraph $< --html -t mmd > $@
$(pgraph) $< --html -t mmd > $@
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "n4o-graph",
"type": "module",
"scripts": {
"pgraph": "pgraph",
"pgraph": "cd $INIT_CWD; pgraph",
"expansion": "node expansion-list.js"
},
"dependencies": {
Expand Down

0 comments on commit e8ffbc2

Please sign in to comment.