forked from INCATools/ontology-development-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (27 loc) · 938 Bytes
/
Makefile
File metadata and controls
38 lines (27 loc) · 938 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
# This makefile is purely for running tests on the complete ontology-starter-kit package on travis;
# users should not need to use this
EMAIL_ARGS=
test: test1 test2
test1:
./seed-my-ontology-repo.pl $(EMAIL_ARGS) -c -d pato -t my-ontology1 myont
test2:
./seed-my-ontology-repo.pl $(EMAIL_ARGS) -c -d pato -d ro -t my-ontology2 myont
test3:
./seed-my-ontology-repo.pl $(EMAIL_ARGS) -c -d pato -d cl -d ro -t my-ontology3 myont
# Building docker image
#
# Note: the current osk is currently a large image.
# Use osklite where possible
VERSION = "v0.0.3"
IM=obolibrary/osk
build:
@docker build -t $(IM):$(VERSION) . \
&& docker tag $(IM):$(VERSION) $(IM):latest
run:
docker run --rm -ti --name osk $(IM)
publish: build
@docker push $(IM):$(VERSION) \
&& docker push $(IM):latest
publish-all: publish
(cd docker/osklite && make publish VERSION=$(VERSION)) && \
(cd docker/oskfull && make publish VERSION=$(VERSION))