Xavier Claessens
8603c3b445
dist: Add --no-tests option
...
It is not always needed to test generated tarballs, for example when
they are generated by CI that already does its own testing.
2020-03-29 21:12:34 +03:00
Michael Brockus
98ddd52ced
Cherry-picking - (rm python2 % add python3 .format) ( #6725 )
2020-03-03 21:45:43 +02:00
Nirbheek Chauhan
b7c70c47a6
mdist: Use windows_proof_rmtree when deleting
2020-02-17 18:36:14 +02:00
Nirbheek Chauhan
8650c763d9
mdist: Don't delete builddir on dist failure
...
Closes https://github.com/mesonbuild/meson/issues/1976
2020-02-17 18:36:14 +02:00
Richard Laager
5118cf914d
Exclude .hg* from dist tarballs
...
Debian's lintian checker complaints when upstream tarballs contain an
.hgtags file.
This excludes ".hg[a-z]*". This is mostly consistent with the git
handling in del_gitfiles() which deletes .git*. hg archive --help shows
an example of -X ".hg*". However, instead of ".hg*", I have used
".hg[a-z]*" to keep the automatically added hg_archival.txt. This file
may be useful to link the tarball to the Mercurial revision for either
manual inspection or in case any code interprets it for a --version or
similar.
This also excludes .hgignore and other things like .hgflow, which seems
desirable.
Fixes #6575
2020-02-10 22:53:42 +02:00
Jussi Pakkanen
254cb3209d
Set source and build dir envvars when running dist.
2020-01-23 02:25:52 +02:00
Xavier Claessens
5031f4981d
dist: Fix --include-subprojects when .wrap file has directory value
2019-12-10 22:19:00 +02:00
Xavier Claessens
1298f71b1c
dist: Add --include-subprojects option
2019-12-08 20:21:43 +02:00
Thomas Petazzoni
998a1f5fa3
mdist.py: import lzma only when needed
...
Source of patch:
http://lists.busybox.net/pipermail/buildroot/2019-October/262990.html
http://code.bulix.org/gdxcu4-914360
Fixes https://github.com/mesonbuild/meson/issues/6012
2019-10-19 14:28:34 +03:00
Xavier Claessens
7cc112df0d
dist: Add '-C' option and print better error message
...
It was not obvious that 'meson dist' must be run from build directory.
2019-08-07 22:57:02 +03:00
Thibault Saunier
645a8584fe
dist: Pass right build options when configuring dist directory
...
Fixes https://github.com/mesonbuild/meson/issues/5732
2019-07-30 18:04:45 +03:00
Jussi Pakkanen
f2e018c7f3
Create multiple different archive types with dist.
2019-07-23 23:26:46 +03:00
Jussi Pakkanen
7ce2a24f42
Made dist a top level command.
2019-07-23 23:26:46 +03:00