summaryrefslogtreecommitdiff
path: root/services/Makefile
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2010-10-25 16:27:36 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2010-10-25 16:27:36 +0200
commitd0c88c5bbcff93c66805a1df9b1f8318eba04b9b (patch)
treef6a2f4fe07329d6245aa0bed7ca8b3301d0f3993 /services/Makefile
parenttypo (diff)
downloadapi-description-d0c88c5bbcff93c66805a1df9b1f8318eba04b9b.tar.gz
add an infrastructure (Makefile based)
Diffstat (limited to 'services/Makefile')
-rw-r--r--services/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/services/Makefile b/services/Makefile
new file mode 100644
index 0000000..7126764
--- /dev/null
+++ b/services/Makefile
@@ -0,0 +1,18 @@
+VALIDATOR := perl ../utils/validator.pl --schema spore_validation.rx --description
+
+check: spore_validation.rx
+ @make -C github check
+ @$(VALIDATOR) backtweet.json
+ @$(VALIDATOR) backtype.json
+ @$(VALIDATOR) github.json
+ @$(VALIDATOR) ihackernews.json
+ @$(VALIDATOR) twitter.json
+
+test: check
+
+spore_validation.rx:
+ wget http://github.com/SPORE/specifications/raw/master/spore_validation.rx
+
+clean:
+ @make -C github clean
+ -rm spore_validation.rx