forked from leandrosouza/django-simple-audit
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
40 lines (31 loc) · 915 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
40
# Makefile for simple_audit
help:
@echo
@echo "Please use 'make <target>' where <target> is one of"
@echo " clean to clean garbage left by builds and installation"
@echo " compile to compile .py files (just to check for syntax errors)"
@echo " install to install"
@echo " build to build without installing"
@echo " dist to create egg for distribution"
@echo " test to run tests"
@echo " publish to publish the package to PyPI"
@echo
clean:
@echo "Cleaning..."
@rm -rf build dist *.egg-info *.pyc **/*.pyc *~
test: clean
@cd testproject; python manage.py test simple_app
compile: clean
@echo "Compiling source code..."
@python -tt -m compileall simple_audit
@python -tt -m compileall tests
install:
@python setup.py install
build:
@python setup.py build
dist: clean
@python setup.py sdist
upload: clean
@python setup.py sdist upload -r pypi
publish: upload
@bash make_tag.sh