common.prepare_source: add verbose option and use it

The prepare_source method runs commands and everything, but the -v
option gives no insight into what is happening in this method.
This patch adds some verbose output, useful to discover why/where a scan
fails
This commit is contained in:
Tias Guns 2012-03-12 21:05:12 +00:00
parent 35668ebd87
commit 1c0dfcbab9
2 changed files with 10 additions and 3 deletions

View file

@ -96,7 +96,7 @@ def main():
# Prepare the source code...
root_dir = common.prepare_source(vcs, app, thisbuild,
build_dir, extlib_dir, sdk_path, ndk_path, javacc_path)
build_dir, extlib_dir, sdk_path, ndk_path, javacc_path, options.verbose)
# Do the scan...
buildprobs = common.scan_source(build_dir, root_dir, thisbuild)