aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/minstall.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-01-12 11:20:13 -0800
committerDylan Baker <dylan@pnwbakers.com>2021-01-13 13:32:48 -0800
commit59328aba2929b969a7e7ce1390d891dafe391a7f (patch)
treee4386d9ca8757d1901dedf885df0fa6787595443 /mesonbuild/minstall.py
parent022632c91b255739c5100601a02b197cb29cd23e (diff)
downloadmeson-59328aba2929b969a7e7ce1390d891dafe391a7f.zip
meson-59328aba2929b969a7e7ce1390d891dafe391a7f.tar.gz
meson-59328aba2929b969a7e7ce1390d891dafe391a7f.tar.bz2
build: Add some type annotations
Diffstat (limited to 'mesonbuild/minstall.py')
-rw-r--r--mesonbuild/minstall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py
index 4d40752..0adcda2 100644
--- a/mesonbuild/minstall.py
+++ b/mesonbuild/minstall.py
@@ -538,6 +538,7 @@ class Installer:
else:
raise
+
def rebuild_all(wd: str) -> bool:
if not (Path(wd) / 'build.ninja').is_file():
print('Only ninja backend is supported to rebuild the project before installation.')
@@ -555,6 +556,7 @@ def rebuild_all(wd: str) -> bool:
return True
+
def run(opts):
datafilename = 'meson-private/install.dat'
private_dir = os.path.dirname(datafilename)