Closed StoneyJackson closed 10 years ago
I definitely agree with make test
and make pot
(make translation
? pot
looks odd and not actually clear as a command) considering developers should be able to run them when they only have the distribution package. The rest... I'm sitting between +0/-0 on.
The disadvantage is that they cannot be ran from anywhere.
I'm not sure what the difference would be here (with the exception of running MT in-place)?
Targets:
make clean
(update to delete .pyc, .pyo, *.mo) [kevin]make pristine
(delete everything not under VC) [stoney]make potfile
(generate pot file) [stoney]make mofiles
(generate .mo from .po) [stoney]make check
(run tests) [stoney]make lint
(run pylint) [stoney]make run
(in-place run) [stoney][EDIT: @kevin-brown OK, the checkboxes are cool!
make run
and make test
need dependencies and should do something about needing PYTHONPATH declared.
Responding to "Do we want to do this with the other files in
bin
like this?" in #34.Most developers know make files. We could document some custom hooks like:
The disadvantage is that they cannot be ran from anywhere. During development, I like to be able to run all the tests, or run moustrap in-place, from anywhere in the code base.