chiark / gitweb /
Some extra diagnostics stuff in build.py
authorCiaran Gultnieks <ciaran@ciarang.com>
Sun, 2 Oct 2011 10:52:13 +0000 (11:52 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Sun, 2 Oct 2011 10:52:13 +0000 (11:52 +0100)
build.py
marketcheck/androidmarketapi-0.5.jar [deleted file]

index b9ddce7384be54c64f701de991b750fb0585e6cc..f42b119116dc76455fb1f733017803d14f650091 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -101,6 +101,8 @@ for app in apps:
                     root_dir = build_dir
 
                 # Get a working copy of the right revision...
+                if options.verbose:
+                    print "Resetting repository to " + thisbuild['commit']
                 vcs.reset(thisbuild['commit'])
 
                 # Initialise submodules if requred...
@@ -419,6 +421,9 @@ for app in apps:
                 if (version != thisbuild['version'] or
                         vercode != thisbuild['vercode']):
                     print "Unexpected version/version code in output"
+                    print "APK:" + version + " / " + str(vercode)
+                    print ("Expected: " + thisbuild['version'] + " / " +
+                            str(thisbuild['vercode']))
                     sys.exit(1)
 
                 # Copy the unsigned apk to our temp directory for further
diff --git a/marketcheck/androidmarketapi-0.5.jar b/marketcheck/androidmarketapi-0.5.jar
deleted file mode 100644 (file)
index eec7fff..0000000
Binary files a/marketcheck/androidmarketapi-0.5.jar and /dev/null differ