teeworlds/teeworlds — pull request #960 by Sworddragon (2012-04-26 16:33:02+00:00)
Title: Minor script cleanup #2

I have changed some things:

- make_release.py uses now arguments with optparse instead of sys. There are also help descriptions now for build.py and make_release.py (which can be called with -h, --help or on missing required arguments). This makes a direct call to make_release.py easier to understand.

- I have excluded fetch_file() to twlib.py. This is because this function was used multiple times by scripts. The idea of twlib.py is to be a place for generic functions for all scripts which could be usefull. This way the maintenance should be easier (in the future some of the other functions could be excluded to this place too).

- I have removed some whitespaces which have broken some indentions. I'm wondering a little about this because I remember of a commit which should already do this.

Changes to the first pull request:

- Checking for the existence of the source directory in make_release.py.

If my commit will be used I have a question: What is with make_src.py because make_release.py is able too to create a source package archive too?