summaryrefslogtreecommitdiff
path: root/tools/meson-make-symlink.sh
Commit message (Collapse)AuthorAgeFilesLines
* tools: shellcheck-ify most of the tool scriptsFrantisek Sumsal2021-04-201-4/+7
|
* tree-wide: add spdx header on all scripts and helpersZbigniew Jędrzejewski-Szmek2021-01-281-0/+1
| | | | | | Even though many of those scripts are very simple, it is easier to include the header than to try to say whether each of those files is trivial enough not to require one.
* meson: Respect MESON_INSTALL_QUIETDaan De Meyer2020-12-061-3/+9
| | | | | | MESON_INSTALL_QUIET is set when --quiet is passed to meson install. Make sure we check the variable in our custom install scripts and don't output anything if it is set.
* test: move TEST-08-ISSUE-2730 setup to static files and meson scriptsZbigniew Jędrzejewski-Szmek2020-03-281-3/+3
| | | | | | | | Unfortunately meson does not install symlinks, but copies the symlink destination instead. So symlinks need to be created by a script. This commit adds both symlinks in test/testsuite-08.units/ and meson scriptlet calls. Strictly speaking, the first is not necessary, since nothing reads stuff directly from the source tree.
* scripts: use 4 space indentationZbigniew Jędrzejewski-Szmek2019-04-121-2/+2
| | | | | | | | | | | | | | | | | | We had all kinds of indentation: 2 sp, 3 sp, 4 sp, 8 sp, and mixed. 4 sp was the most common, in particular the majority of scripts under test/ used that. Let's standarize on 4 sp, because many commandlines are long and there's a lot of nesting, and with 8sp indentation less stuff fits. 4 sp also seems to be the default indentation, so this will make it less likely that people will mess up if they don't load the editor config. (I think people often use vi, and vi has no support to load project-wide configuration automatically. We distribute a .vimrc file, but it is not loaded by default, and even the instructions in it seem to discourage its use for security reasons.) Also remove the few vim config lines that were left. We should either have them on all files, or none. Also remove some strange stuff like '#!/bin/env bash', yikes.
* separate flags from shebangbleep_blop2017-12-251-1/+2
|
* meson: also indent scripts with 8 spacesZbigniew Jędrzejewski-Szmek2017-04-251-2/+2
|
* meson: $DESTDIR might be undefinedZbigniew Jędrzejewski-Szmek2017-04-241-3/+3
| | | | This causes an error with -u. Just add an empty fallback.
* meson: use "sh -eu" and make .sh +x, .py -xZbigniew Jędrzejewski-Szmek2017-04-231-1/+1
| | | | | | | | | Shell scripts should be executable so that meson reports their invocation succinctly (does not print 'sh' '-e'). Python scripts should not be executable so that meson does the detection of the right python binary itself. Add -u everywhere to catch potential errors.
* meson: create various symlinksZbigniew Jędrzejewski-Szmek2017-04-231-0/+11
v2: - remove bashisms