Skip to content

Commit

Permalink
Merge pull request #27 from moul/dev/moul/update-example2
Browse files Browse the repository at this point in the history
Update example
  • Loading branch information
moul authored Sep 5, 2018
2 parents cff2832 + 1d88b46 commit 2539a95
Show file tree
Hide file tree
Showing 3 changed files with 332 additions and 184 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
.PHONY: install
install:
GO111MODULE=auto go install -v

.PHONY: update_examples
update_examples:
for dir in $(wildcard examples/*); do (cd $$dir && make); done
git commit examples -m "chore: update examples"
4 changes: 4 additions & 0 deletions examples/depviz/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.PHONY: run
run:
depviz render -f | dot -Tsvg > depviz.svg

.PHONY: preview
preview:
depviz render -f | dot -Tpng | imgcat
Loading

0 comments on commit 2539a95

Please sign in to comment.