diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-11-17 11:51:18 +0100 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-11-17 11:51:18 +0100 |
| commit | e03f48683b982f8b9efd4ca0dae0bd6bca7411b5 (patch) | |
| tree | 552b892fb679ccd18f929e8a901b7f375c7a1ad5 /apps/couchdb/Makefile | |
| parent | add format (diff) | |
| parent | spore2dot: split note & doc (diff) | |
| download | api-description-e03f48683b982f8b9efd4ca0dae0bd6bca7411b5.tar.gz | |
Merge branch 'master' of github.com:SPORE/api-description
* 'master' of github.com:SPORE/api-description:
spore2dot: split note & doc
add modularized CouchDB
spore2dot: add note
Ohloh: typo
add the Ohloh API, http://www.ohloh.net
CouchDB: an alternate description (still incomplete)
spore2dot: add a detailed generation
Github: rename some methods s/^get_/list_/;
Github/network: missing params
Diffstat (limited to 'apps/couchdb/Makefile')
| -rw-r--r-- | apps/couchdb/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/apps/couchdb/Makefile b/apps/couchdb/Makefile new file mode 100644 index 0000000..a8177ca --- /dev/null +++ b/apps/couchdb/Makefile @@ -0,0 +1,29 @@ + +VALIDATOR := perl ../../utils/validator.pl --schema spore_validation.rx --description +SPORE2DOT := perl ../../utils/spore2dot.pl + +check: spore_validation.rx + @$(VALIDATOR) server.json + @$(VALIDATOR) database.json + @$(VALIDATOR) document.json + @$(VALIDATOR) design.json + +test: check + +spore_validation.rx: + wget http://github.com/SPORE/specifications/raw/master/spore_validation.rx + +png: couchdb.png + +%.png : %.dot + dot -T png -o $@ $< + +couchdb.dot: \ + server.json \ + database.json \ + document.json \ + design.json + $(SPORE2DOT) $^ > $@ + +clean: + -rm *.png *.dot spore_validation.rx |
