Fixup compile_commands.json after build

Closes #1
main
alexis 2022-12-11 15:12:56 -07:00
parent f3ec3a88a8
commit e62799641e
3 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
.have_docker .have_docker
tags tags
.cache
# Ignore list for: c # Ignore list for: c
*.d *.d

View File

@ -15,6 +15,7 @@ OPENOCD_DIR ?= $(dir $(shell command -v openocd))/..
all: .have_docker all: .have_docker
${DOCKER_CMD} ${DOCKER_IMAGE} make lall ${DOCKER_CMD} ${DOCKER_IMAGE} make lall
sed -i -e "s%"'"'"/project/%"'"'"$$(readlink -f .)/%" ${MESON_DIR}/compile_commands.json
wipe: clean all wipe: clean all
lall: ${MESON_DIR} lall: ${MESON_DIR}

1
compile_commands.json Symbolic link
View File

@ -0,0 +1 @@
mbuild/compile_commands.json