aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mdist.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-03-27 11:06:56 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2020-03-29 21:12:34 +0300
commitf4d98a3e72d567c18304d61aab731ebdb881f76a (patch)
tree63e89dbf718798c82a2b81ae00d54827c69378bd /mesonbuild/mdist.py
parent8603c3b44515ca92499bcd70daeece8edbe8e6b0 (diff)
downloadmeson-f4d98a3e72d567c18304d61aab731ebdb881f76a.zip
meson-f4d98a3e72d567c18304d61aab731ebdb881f76a.tar.gz
meson-f4d98a3e72d567c18304d61aab731ebdb881f76a.tar.bz2
dist: Print location of generated tarballs
Otherwise the location is not discoverable without reading online documentation.
Diffstat (limited to 'mesonbuild/mdist.py')
-rw-r--r--mesonbuild/mdist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/mdist.py b/mesonbuild/mdist.py
index 5637e70..b324f76 100644
--- a/mesonbuild/mdist.py
+++ b/mesonbuild/mdist.py
@@ -49,6 +49,7 @@ def create_hash(fname):
m.update(open(fname, 'rb').read())
with open(hashname, 'w') as f:
f.write('{} {}\n'.format(m.hexdigest(), os.path.basename(fname)))
+ print(os.path.relpath(fname), m.hexdigest())
def del_gitfiles(dirname):