summaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/dist.py
AgeCommit message (Collapse)Author
2019-07-23Made dist a top level command.Jussi Pakkanen
2019-07-18fix all flake8 issuesDaniel Mensinger
2019-07-01Use the same directory names for dist so that ccache works. Closes #5583.Jussi Pakkanen
2019-04-25Don't use len() to test for container emptinessDylan Baker
I ran the numbers once before (it's in the meson history) but it's *much* faster to *not* use len for testing if a container is empty or not.
2019-04-21dist: recurse into git submodulesVladimír Čunát
2019-01-30dist: Handle git worktrees, which have a .git file instead of dirDylan Baker
This is the second most straight forward stupid way of handling this (with usiing os.path.exists) as the most stupid obvious way. The only major advantage is that having .git as something other than a file or directory still doesn't register. Fixes: #3378
2018-10-24Fix flake8 'imported but unused' reportsJon Turney
$ 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-04Make custom dist scripts accept arguments.Jan Tojnar
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-09-28dist: Warn if there are uncommitted changes in the repositoryNirbheek Chauhan
Closes https://github.com/mesonbuild/meson/issues/1977
2018-09-28dist: Make usage of period in messages consistentNirbheek Chauhan
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-08-27Add support for custom dist scripts.Jussi Pakkanen
2017-06-13Add Mercurial dist support.Elliott Sales de Andrade
2017-06-13Remove extraneous os.path.split()s.Elliott Sales de Andrade
Since only one part is needed, they can be replaced by dirname, basename, or the originally joined file name.
2017-05-29Whitespace tweaks to reduce Flake8 warningsAlistair Thomas
2017-05-21Create helper function for a rmtree that works reliably on Windows.Jussi Pakkanen
2017-05-17Delete the correct directory in dist check.Elliott Sales de Andrade
2017-05-17Remove dead code paths.Elliott Sales de Andrade
2017-05-17Remove unused imports.Elliott Sales de Andrade
2017-05-12Add test and release notes.Jussi Pakkanen
2017-05-11Initialise submodules.Jussi Pakkanen
2017-05-11Test created tarball by doing a full build + test + install cycle.Jussi Pakkanen
2017-05-11Created a dist target. Closes #877.Jussi Pakkanen