mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Don't treat targets as files
Currently, this sample Makefile has problems if there are any files/directories named init or test in the same directory as the makefile. This commit adds a phony to the sample Makefile so that these targets are not treated as files.
This commit is contained in:
@@ -254,6 +254,8 @@ your project.
|
|||||||
test:
|
test:
|
||||||
py.test tests
|
py.test tests
|
||||||
|
|
||||||
|
.PHONY init test
|
||||||
|
|
||||||
Other generic management scripts (e.g. ``manage.py``
|
Other generic management scripts (e.g. ``manage.py``
|
||||||
or ``fabfile.py``) belong at the root of the repository as well.
|
or ``fabfile.py``) belong at the root of the repository as well.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user