chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a3351a
)
Restored some verbose functionality
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 25 Apr 2011 23:27:12 +0000
(
00:27
+0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 25 Apr 2011 23:27:12 +0000
(
00:27
+0100)
build.py
patch
|
blob
|
history
common.py
patch
|
blob
|
history
diff --git
a/build.py
b/build.py
index 94cb179adcd184841f443f58b0ef660764802362..4c594e7fb42ce4e5f01b3baeb0c40a3f9f635839 100755
(executable)
--- a/
build.py
+++ b/
build.py
@@
-46,7
+46,7
@@
parser.add_option("-c", "--clean", action="store_true", default=False,
(options, args) = parser.parse_args()
# Get all apps...
-apps = common.read_metadata()
+apps = common.read_metadata(
options.verbose
)
#Clear and/or create the 'built' directory, depending on mode:
built_dir = 'built'
diff --git
a/common.py
b/common.py
index d661e8849e8ab47e9113f111c02caa4ce9ff6515..16825eaefc7b2c8ae6032bc9459a388b3fefefc2 100644
(file)
--- a/
common.py
+++ b/
common.py
@@
-154,5
+154,7
@@
def parse_metadata(metafile, **kw):
def read_metadata(verbose=False):
apps = []
for metafile in glob.glob(os.path.join('metadata', '*.txt')):
+ if verbose:
+ print "Reading " + metafile
apps.append(parse_metadata(metafile, verbose=verbose))
return apps