summaryrefslogtreecommitdiff
path: root/services/github
diff options
context:
space:
mode:
Diffstat (limited to 'services/github')
-rw-r--r--services/github/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/services/github/Makefile b/services/github/Makefile
index d9efd92..0b4264d 100644
--- a/services/github/Makefile
+++ b/services/github/Makefile
@@ -1,5 +1,6 @@
VALIDATOR := perl ../../utils/validator.pl --schema spore_validation.rx --description
+SPORE2DOT := perl ../../utils/spore2dot.pl
check: spore_validation.rx
@$(VALIDATOR) repository.json
@@ -10,5 +11,13 @@ test: check
spore_validation.rx:
wget http://github.com/SPORE/specifications/raw/master/spore_validation.rx
+png: github.png
+
+%.png : %.dot
+ dot -T png -o $@ $<
+
+github.dot: user.json repository.json
+ $(SPORE2DOT) $^ > $@
+
clean:
- -rm spore_validation.rx
+ -rm *.png *.dot spore_validation.rx