-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (28 loc) · 829 Bytes
/
Makefile
File metadata and controls
38 lines (28 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
VERSION=$(shell cat VERSION)
CC=jsonc -d 4 -p
DEST=/home/www/anc/LAPPS/vocab/schema
%.json : %.schema
if [ ! -e schemata ] ; then mkdir schemata ; fi
$(CC) -o ./schemata/$*-schema.json $<
all: lif data metadata datasource
lif: lif.json
data: data.json
metadata: metadata.json
datasource: datasource.json
upload:
./upload.sh $(VERSION)
.PHONY: clean
clean:
if [ -e schemata ] ; then rm -rf schemata ; fi
help:
@echo
@echo "Goals"
@echo
@echo " all : generates all JSON Schema (Default)"
@echo " lif : a LIF Container"
@echo " data : a LAPPS Data object"
@echo "datasource : metadata returned by DataSources"
@echo " metadata : metatdata returnd by WebServices"
@echo " clean : deletes all generated schemata"
@echo " upload : uploads schemata to the vocab web site"
@echo