Skip to content

Commit

Permalink
fix(build): make it possible to switch layout for debug graph
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed May 30, 2021
1 parent 29abd47 commit a973526
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Expand Up @@ -20,8 +20,10 @@ ci: build cover
clean:
rm -rf node_modules/ out/

GRAPH_LAYOUT ?= dot

graph: ## render any debug graphs
cat out/debug-graph | dot -Tpng -oout/debug-graph.png && sensible-browser out/debug-graph.png
cat out/debug-graph | $(GRAPH_LAYOUT) -Tpng -oout/debug-graph.png && sensible-browser out/debug-graph.png

image: ## build the docker image
docker build $(DOCKER_ARGS) -f Dockerfile -t $(DOCKER_IMAGE) .
Expand Down

0 comments on commit a973526

Please sign in to comment.