-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
36 lines (29 loc) · 765 Bytes
/
makefile
File metadata and controls
36 lines (29 loc) · 765 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
## makefile automates the build and deployment for lein projects
PROJ_TYPE= clojure
PROJ_MODULES= dist python release
ANRRES= py4jgw
REL_DIST ?= $(REL_ZIP) $(MTARG_PYDIST_ATFC)
include $(if $(ZBHOME),$(ZBHOME),../zenbuild)/main.mk
.PHONY: runserv
runserv:
lein with-profile +runserv run || true
.PHONY: test
test:
$(LEIN) test
# integration tests output errors (specifically when the java server exists)
.PHONY: inttest
inttest:
lein with-profile +runserv run -t 15000 &
@for i in `seq 1 30` ; do \
echo attempt gateway connection $$i ; \
nc -d -w 0 localhost 25333 && break ; \
sleep 1 ; \
done
make pytest
.PHONY: pinst
pinst:
yes | pip uninstall clojure || true
make pyinstall
.PHNOY: pydebugtest
pydebugtest:
make TEST_DEBUG=1 pytest