Skip to content

Commit

Permalink
chore: update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Sep 10, 2018
1 parent f9ea734 commit e5c77a1
Show file tree
Hide file tree
Showing 3 changed files with 418 additions and 265 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ install:

.PHONY: update_examples
update_examples:
for dir in $(wildcard examples/*); do (cd $$dir && make); done
echo "now you can run 'git commit examples -m \"chore: update examples\"'"
for dir in $(sort $(dir $(wildcard examples/*/*))); do (cd $$dir && make); done
@echo "now you can run:"
@echo " git commit examples -m \"chore: update examples\""
2 changes: 2 additions & 0 deletions examples/depviz/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.PHONY: run
run:
depviz render -f | dot -Tsvg > depviz.svg
depviz render -t orphans -f | dot -Tsvg > orphans.svg
cat orphans.svg | grep -s text || rm orphans.svg

.PHONY: preview
preview:
Expand Down
Loading

0 comments on commit e5c77a1

Please sign in to comment.