mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2025-12-19 09:40:05 -06:00
16 lines
410 B
Bash
Executable File
16 lines
410 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2025 XTX Markets Technologies Limited
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set -eu -o pipefail
|
|
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
cd $SCRIPT_DIR
|
|
|
|
set -x
|
|
|
|
./linux/scripts/clang-tools/gen_compile_commands.py
|
|
sed -i 's:-I.:-I./linux:g' ./compile_commands.json
|
|
sed -i 's:-include .:-include ./linux:g' ./compile_commands.json |