[private] default: @just --list # format C/H files in place fmt: git ls-files '*.c' '*.h' | xargs --no-run-if-empty clang-format -i # bump submodule(s) to latest tag bump-qmk submodule="": #!/usr/bin/env bash set -e if [ -z "{{submodule}}" ]; then targets="qmk_upstream qmk_framework" else targets="{{submodule}}" fi for sm in $targets; do old=$(git -C $sm describe --tags --exact-match HEAD 2>/dev/null || git -C $sm rev-parse --short HEAD) git -C $sm fetch --tags --quiet new=$(git -C $sm tag --sort=-creatordate | head -1) git -C $sm checkout --quiet "$new" echo "bumped $sm from $old to $new" done