aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/dist.py
AgeCommit message (Collapse)AuthorFilesLines
2019-07-23Made dist a top level command.Jussi Pakkanen1-210/+0
2019-07-18fix all flake8 issuesDaniel Mensinger1-1/+0
2019-07-01Use the same directory names for dist so that ccache works. Closes #5583.Jussi Pakkanen1-5/+9
2019-04-25Don't use len() to test for container emptinessDylan Baker1-1/+1
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át1-1/+1
2019-01-30dist: Handle git worktrees, which have a .git file instead of dirDylan Baker1-1/+2
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 Turney1-1/+0
$ 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 Tojnar1-10/+11
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 Chauhan1-2/+18
Closes https://github.com/mesonbuild/meson/issues/1977
2018-09-28dist: Make usage of period in messages consistentNirbheek Chauhan1-10/+10
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 Pakkanen1-4/+25
2017-06-13Add Mercurial dist support.Elliott Sales de Andrade1-4/+25
2017-06-13Remove extraneous os.path.split()s.Elliott Sales de Andrade1-3/+4
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 Thomas1-2/+2
2017-05-21Create helper function for a rmtree that works reliably on Windows.Jussi Pakkanen1-1/+2
2017-05-17Delete the correct directory in dist check.Elliott Sales de Andrade1-1/+1
2017-05-17Remove dead code paths.Elliott Sales de Andrade1-2/+1
2017-05-17Remove unused imports.Elliott Sales de Andrade1-2/+1
2017-05-12Add test and release notes.Jussi Pakkanen1-1/+1
2017-05-11Initialise submodules.Jussi Pakkanen1-15/+37
2017-05-11Test created tarball by doing a full build + test + install cycle.Jussi Pakkanen1-22/+63
2017-05-11Created a dist target. Closes #877.Jussi Pakkanen1-0/+85