Changed build.sh to generate compile_commands.json
This commit is contained in:
9
build.sh
9
build.sh
@@ -6,4 +6,11 @@ KB_NAME="keyboardeeroy_jenkins"
|
||||
ln -sfn "$SCRIPT_DIR/keyboards/$KB_NAME" \
|
||||
"$SCRIPT_DIR/qmk_firmware/keyboards/$KB_NAME"
|
||||
|
||||
make -C "$SCRIPT_DIR/qmk_firmware" "$KB_NAME:default"
|
||||
# Isolate qmk config to this project
|
||||
export HOME="$SCRIPT_DIR/.qmk_home"
|
||||
mkdir -p "$HOME/.config/qmk"
|
||||
qmk config user.qmk_home="$SCRIPT_DIR/qmk_firmware"
|
||||
qmk config user.overlay_dir="$SCRIPT_DIR"
|
||||
|
||||
# Build and generate compile_commands.json
|
||||
qmk compile --compiledb -kb "$KB_NAME" -km default
|
||||
|
||||
Reference in New Issue
Block a user