Skip to content

Commit

Permalink
fixup! chore(vats): restore authorityViz.js to working order
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Mar 13, 2023
1 parent ff52b05 commit 89fbcd7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/vats/tools/viz.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# config: tools outsidet the source tree
VIEWER=firefox
DOT=dot

CONFIG=decentral-test-vaults-config

SRC=../src/core/chain-behaviors.js ../src/core/basic-behaviors.js

$(CONFIG).svg: $(CONFIG).dot
$(DOT) -Tsvg $< >$@ || rm $@

view: $(CONFIG).svg
$(VIEWER) $<

$(CONFIG).dot: ../$(CONFIG).json $(SRC) authorityViz.js
node authorityViz.js ../$(CONFIG).json >$@ || rm $@

0 comments on commit 89fbcd7

Please sign in to comment.