forked from owlbarn/light_actor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
49 lines (37 loc) · 852 Bytes
/
Makefile
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
39
40
41
42
43
44
45
46
47
48
49
.PHONY: all
all: build
.PHONY: depend depends
depend depends:
dune external-lib-deps --missing @install @runtest
.PHONY: build
build: depends
dune build @install
.PHONY: test
test: depends
dune runtest -j 1 --no-buffer -p owl
.PHONY: clean
clean:
dune clean
.PHONY: install
install: build
dune install
.PHONY: uninstall
uninstall:
dune uninstall
.PHONY: doc
doc:
dune build @doc
.PHONY: cleanall
cleanall:
dune uninstall && dune clean
$(RM) -r $(find . -name .merlin)
.PHONY: push
push:
git commit -am "coding ..." && \
git push origin `git branch | grep \* | cut -d ' ' -f2`
.PHONY: images
images: image_lwae
image_lwae: image_owl
docker image build . --network host -f docker/Dockerfile -t lwae
image_owl:
docker image build -t owl --network host https://raw.githubusercontent.com/owlbarn/owl/master/docker/Dockerfile.ubuntu