-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (33 loc) · 825 Bytes
/
Makefile
File metadata and controls
40 lines (33 loc) · 825 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
39
40
reformat:
@black setup.py
@clang-format \
-style=file -i -sort-includes \
src/pyvidardb/db.cpp \
src/pyvidardb/iterator.cpp \
src/pyvidardb/options.cpp \
src/pyvidardb/pyvidardb.cpp \
src/pyvidardb/db.hpp \
src/pyvidardb/iterator.hpp \
src/pyvidardb/pyvidardb.hpp
@echo "Reformat complete."
clean:
@rm -rf \
build \
dist \
src/*.egg-info \
compact_example \
iter_example \
put_example \
simple_example \
examples/compact_example \
examples/iter_example \
examples/put_example \
examples/simple_example || true
@echo "The caches and generated files are removed successfully."
package:
@rm dist/* || true
@python3 setup.py sdist
@echo "PyVidarDB is packaged successfully."
upload:
@twine upload --repository=pypi dist/*
.PHONY: reformat clean package upload