-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (29 loc) · 726 Bytes
/
Copy pathMakefile
File metadata and controls
37 lines (29 loc) · 726 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
maint:
pip install -r requirements/dev.txt
pre-commit autoupdate && pre-commit run --all-files
pip-compile -U setup.py
pip-compile -U requirements/ci.in
pip-compile -U requirements/dev.in
docs:
python setup.py upload_docs --upload-dir docs/_build/html
upload:
make clean
python setup.py sdist bdist_wheel && twine upload -s dist/*
test:
pytest
testall:
make test
cheesecake_index -n memtop -v
count:
cloc . --exclude-dir=docs,cover,dist,memtop.egg-info
countc:
cloc . --exclude-dir=docs,cover,dist,memtop.egg-info,tests
countt:
cloc tests
clean:
rm -f *.hdf5 *.yml *.csv
rm -rf docs/build
rm -rf cover
rm -rf build
find . -type f -name "*.py[co]" -delete
find . -type d -name "__pycache__" -delete