forked from imjoy-team/imjoy-elfinder
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 668 Bytes
/
Makefile
File metadata and controls
28 lines (21 loc) · 668 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
.PHONY: help all clean clean-build clean-pyc coverage test
help:
@echo "clean - run both clean-build and clean-pyc"
@echo "clean-build - remove build artifacts"
@echo "clean-pyc - remove Python file artifacts"
@echo "coverage - check code coverage quickly with the default Python"
@echo "test - run tests quickly with the default Python"
all: test
clean: clean-build clean-pyc
clean-build:
rm -fr build/
rm -fr dist/
rm -fr *.egg-info
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
coverage:
pytest --cov-report term-missing --cov=imjoy_elfinder tests/
test:
pytest tests/