Jon Turney
93f7b83bf5
Fix flake8 'imported but unused' reports
...
$ flake8 | grep F401
./mesonbuild/minstall.py:15:1: F401 'gzip' imported but unused
./mesonbuild/backend/backends.py:26:1: F401 '..compilers.get_macos_dylib_install_name' imported but unused
./mesonbuild/backend/backends.py:29:1: F401 'functools.lru_cache' imported but unused
./mesonbuild/scripts/dist.py:27:1: F401 'mesonbuild.dependencies.ExternalProgram' imported but unused
2018-10-24 19:11:46 +03:00
Jan Tojnar
c0c075c129
Make custom dist scripts accept arguments.
...
meson.add_dist_script, introduced in #3906 , did not accept any arguments
other than script name. Since all other meson.add_*_script methods
do accept args, this makes the dist script accept them as well.
2018-10-04 21:20:57 +03:00
Nirbheek Chauhan
4a8210e81c
dist: Warn if there are uncommitted changes in the repository
...
Closes https://github.com/mesonbuild/meson/issues/1977
2018-09-28 12:55:59 -07:00
Nirbheek Chauhan
cbbab82b70
dist: Make usage of period in messages consistent
...
Having a period at the end of sentences in messages is confusing when
a file or path is being outputted, and is inconsistent when not.
This is part of an ongoing effort to fix this inconsistency across the
message outputs everywhere in Meson.
2018-09-28 12:55:59 -07:00
Jussi Pakkanen
fb770e1e3d
Add support for custom dist scripts.
2018-08-27 23:35:29 +03:00
Elliott Sales de Andrade
79d005364f
Add Mercurial dist support.
2017-06-13 00:32:43 -04:00
Elliott Sales de Andrade
1aa1d0d9ad
Remove extraneous os.path.split()s.
...
Since only one part is needed, they can be replaced by dirname,
basename, or the originally joined file name.
2017-06-13 00:12:19 -04:00
Alistair Thomas
a195b78c8d
Whitespace tweaks to reduce Flake8 warnings
2017-05-29 19:32:47 +03:00
Jussi Pakkanen
effe4fb134
Create helper function for a rmtree that works reliably on Windows.
2017-05-21 21:47:24 +03:00
Elliott Sales de Andrade
c69d82795c
Delete the correct directory in dist check.
2017-05-17 19:43:23 -04:00
Elliott Sales de Andrade
34e4d32ac7
Remove dead code paths.
2017-05-17 19:43:23 -04:00
Elliott Sales de Andrade
65b1d33931
Remove unused imports.
2017-05-17 03:42:16 -04:00
Jussi Pakkanen
8068fc0d1d
Add test and release notes.
2017-05-12 14:25:27 +03:00
Jussi Pakkanen
6e59d84534
Initialise submodules.
2017-05-11 19:34:16 +03:00
Jussi Pakkanen
a91aed8854
Test created tarball by doing a full build + test + install cycle.
2017-05-11 19:34:16 +03:00
Jussi Pakkanen
255be79e22
Created a dist target. Closes #877 .
2017-05-11 19:34:16 +03:00