Repository navigation
Expand file tree
/
Copy pathmakefile
More file actions
57 lines (50 loc) · 1.47 KB
/
Copy pathmakefile
File metadata and controls
57 lines (50 loc) · 1.47 KB
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
50
51
52
53
54
55
56
57
a: uow
now: test
story:
python -m datomic.astory2da
python -m xtdb.astory2xt
uow:
python maybe/unitofwork.py
.PHONY: tags test tests
export PYTHONPATH=$(shell pwd)
test tests: #non-db
python -m base.qsyntax
python -m base.test_qs
python -m base.test_symbols
python -m xtdb.test_query
python -m datomic.schema
#tests2: #non-db2
python -m xtdb.lucene
python -m xtdb.test_requests
python -m base.schema
python -m base.test_objmap
python -m base.objmapper
python -m base.astory
python -m datomic.mbrainz_schema
tests-xt test-xt xt:
python -m xtdb.testdb
-cd xtdb/ && PYTHONPATH=.. python try.py
-python -m xtdb.astory2xt
tests-da test-da da:
cd datomic/ && PYTHONPATH=.. python try.py
cd datomic/ && PYTHONPATH=.. python try_mbrainz.py
#cd datomic/ && PYTHONPATH=.. python story.py
cd datomic/ && PYTHONPATH=.. python astory2da.py
tests-xt2 test-xt2 xt2:
cd xtdb2/ && PYTHONPATH=.. python qs2.py
-cd xtdb2/ && PYTHONPATH=.. python try2.py
all: test
#$(MAKE) tests2
$(MAKE) tests-xt
$(MAKE) tests-xt2
$(MAKE) tests-da
EXCLUDES= 1 dist xtdb*/others xtdb/srv*/* datomic/datomic-*/* datomic/mbrainz*
PYPACKS = $(VIRTUAL_ENV)/lib/python3*/site-packages
tags ctags:
ctags $(EXCLUDES:%=--exclude="%") --links=no -R . $(PYPACKS)/edn_format $(PYPACKS)/transit3
PROFILER = -m cProfile -o _profile
try:
PYTHONPATH=. $(_ENVVARS) $(ENVVARS) $(if $N,N=$N) $(if $(XTDB),XTDB=$(XTDB)) python $(PROFILER) xtdb/try.py
try2: _ENVVARS= XTDB2=1 PORT=3002
try2: try
# vim:ts=4:sw=4:noexpandtab