chiark / gitweb /
find cmds from SDK build-tools in a more flexible way, on the fly
authorHans-Christoph Steiner <hans@eds.org>
Tue, 9 Dec 2014 13:12:41 +0000 (14:12 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Sun, 14 Dec 2014 12:25:20 +0000 (13:25 +0100)
commit924425646166673d930cd2b9d93825087646952d
tree442e0f1e7a712b96e0b7b9eb1c7ce80da9b3180d
parent298a88a4980be796469ec161c156d842da4e7c94
find cmds from SDK build-tools in a more flexible way, on the fly

This is a more flexible approach than testing for the complete SDK and
build-tools up front.  This will only test for the commands that are
actually being run, so that if you only have `aapt` installed, you can do
`fdroid update` without errors, but other commands will still give
appropriate errors.

This also makes the build_tools item in config.py optional, it is only
needed if you want to force a specific version of the build-tools.
fdroidserver/build.py
fdroidserver/common.py
fdroidserver/init.py
fdroidserver/update.py
tests/common.TestCase
tests/run-tests