diff --git a/Justfile b/Justfile index dbe90ef..d779afc 100644 --- a/Justfile +++ b/Justfile @@ -49,7 +49,7 @@ _build_single $board $shield $snippet *west_args: echo "Building firmware for $artifact..." west build -s zmk/app -d "$build_dir" -b $board {{ west_args }} ${snippet:+-S "$snippet"} -- \ - -DZMK_CONFIG="{{ config }}" ${shield:+-DSHIELD="$shield"} + -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DZMK_CONFIG="{{ config }}" ${shield:+-DSHIELD="$shield"} if [[ -f "$build_dir/zephyr/zmk.uf2" ]]; then mkdir -p "{{ out }}" && cp "$build_dir/zephyr/zmk.uf2" "{{ out }}/$artifact.uf2"