GNOME-MouseTrap / mousetrap

Developer site for GNOME's MouseTrap
https://wiki.gnome.org/Projects/MouseTrap
GNU General Public License v2.0
4 stars 12 forks source link

Convert `bin` commands into Makefile targets? #35

Closed StoneyJackson closed 10 years ago

StoneyJackson commented 10 years ago

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.

kevin-brown commented 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)?

StoneyJackson commented 10 years ago

Targets:

[EDIT: @kevin-brown OK, the checkboxes are cool!

StoneyJackson commented 10 years ago

make run and make test need dependencies and should do something about needing PYTHONPATH declared.