-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
39 lines (32 loc) · 832 Bytes
/
Makefile
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
build_all:
@echo "Django Mirage Building Started!"
pip install --upgrade pip setuptools wheel
python setup.py check
python setup.py sdist
upload:
@echo "Building Django Mirage..."
python setup.py check
python setup.py bdist_wheel
@echo "Uploading built package..."
twine upload dist/*
doc: docs/
@echo "Building documents..."
mkdocs build
clean:
@echo "Cleaning..."
rm -rf site/
rm -rf mirage_django_lts.egg-info/
rm -rf dist/
rm -rf testing/
pyclean:
find ./mirage -name '*.pyc' -delete -not -path './mirage/scaffold/static/'
rebuild:
@echo "Removing recent buildings..."
rm -rf dist/
@echo "Building Django Console..."
python setup.py check
python setup.py sdist
pip uninstall mirage-django-lts
pip install dist/mirage-django-lts-0.2.7.tar.gz
export-requirements:
pipenv lock -r > requirements.txt