mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
added make file
This commit is contained in:
parent
7d64cf568a
commit
c66834afe1
22
Makefile
Normal file
22
Makefile
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
.PHONY: clean install docs tests all
|
||||||
|
|
||||||
|
clean:
|
||||||
|
find . -type f -name "*.pyc" -delete
|
||||||
|
find . -type f -name "*.db" -delete
|
||||||
|
rm -rf ./site
|
||||||
|
rm -rf ./htmlcov
|
||||||
|
rm -rf ./coverage
|
||||||
|
rm -rf ./build
|
||||||
|
rm -rf ./dist
|
||||||
|
|
||||||
|
install:
|
||||||
|
pip install django
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
docs:
|
||||||
|
mkdocs build
|
||||||
|
|
||||||
|
tests:
|
||||||
|
python runtests.py
|
||||||
|
|
||||||
|
all: clean install docs tests
|
Loading…
Reference in New Issue
Block a user