mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +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:
|
||||
py.test tests
|
||||
|
||||
.PHONY init test
|
||||
|
||||
Other generic management scripts (e.g. ``manage.py``
|
||||
or ``fabfile.py``) belong at the root of the repository as well.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user