1
0
mirror of https://github.com/systemd/systemd synced 2025-10-06 00:13:24 +02:00
Files
systemd/mkosi/mkosi.clangd
DaanDeMeyer 7f76ff2821 tree-wide: Use "mkosi box" instead of "mkosi sandbox"
The box verb was added as a synonym for sandbox. sandbox still works,
but let's switch to box as it's shorter.
2025-07-10 16:24:34 +02:00

18 lines
360 B
Bash
Executable File

#!/bin/bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
if command -v flatpak-spawn >/dev/null; then
SPAWN=(flatpak-spawn --host)
else
SPAWN=()
fi
exec "${SPAWN[@]}" \
mkosi box -- \
clangd \
--compile-commands-dir=build \
--path-mappings="\
$(pwd)/mkosi.tools/usr/include=/usr/include" \
"$@"