Created
February 4, 2013 16:48
-
-
Save borntyping/4707916 to your computer and use it in GitHub Desktop.
Dependency graph for pytentd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requires snakefood python module | |
all: data clusters graph | |
data: | |
@echo "Generating data" | |
@sfood tentd > /tmp/tentd.deps | |
clusters: data | |
@echo "Clustering data" | |
@touch /tmp/tentd.clusters | |
@echo "mongoengine" >> /tmp/tentd.clusters | |
@echo "flask" >> /tmp/tentd.clusters | |
@echo "werkzeug" >> /tmp/tentd.clusters | |
@echo "tentd/blueprints" >> /tmp/tentd.clusters | |
@echo "tentd/control" >> /tmp/tentd.clusters | |
@echo "tentd/documents" >> /tmp/tentd.clusters | |
@echo "tentd/lib" >> /tmp/tentd.clusters | |
@echo "tentd/tests" >> /tmp/tentd.clusters | |
@echo "tentd/utils" >> /tmp/tentd.clusters | |
@cat /tmp/tentd.deps | sfood-cluster --from-file=/tmp/tentd.clusters > /tmp/tentd.new.deps | |
@mv /tmp/tentd.new.deps /tmp/tentd.deps | |
@rm /tmp/tentd.clusters | |
graph: clusters | |
@echo "Creating graph" | |
@sfood-graph -r -p /tmp/tentd.deps | sed -e "s/size = \"8,10\",//" | dot -Tpng -o /tmp/tentd.deps.png | |
@firefox /tmp/tentd.deps.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment