From 4f5a3b06ca34bfe56fc48d29c801b76c6b6d81f8 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 4 Dec 2025 16:14:17 -1000 Subject: [PATCH] ;tools: just: cleanups (still applicable to master) --- Justfile | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Justfile b/Justfile index 9a4caca04..f511f5159 100644 --- a/Justfile +++ b/Justfile @@ -1221,20 +1221,6 @@ tags: @showrelnotes VER: awk "/^## .*-${VER//./\\.}$/ {p=1;print;next}; /^## / {p=0}; p" doc/relnotes.md -# show a precise git-describe version string -@describe: - git describe --tags --match 'hledger-[0-9]*' --dirty - -# show all commit author names -@authors: - echo "Commit authors ($(git shortlog -sn | wc -l | awk '{print $1}'))": - git shortlog -sn - -# show all commit author names and emails -@authorsv: - echo "Commit authors ($(git shortlog -sn | wc -l | awk '{print $1}'))": - git shortlog -sne - SCC := 'scc -z --cocomo-project-type semi-detached -f wide -s code' # count lines of code with scc @@ -1490,6 +1476,20 @@ _gitSwitchAutoCreate BRANCH: git switch -c {{ BRANCH }} fi +# show a precise git-describe version string +@describe: + git describe --tags --match 'hledger-[0-9]*' --dirty + +# show all commit author names +@authors: + echo "Commit authors ($(git shortlog -sn | wc -l | awk '{print $1}'))": + git shortlog -sn + +# show all commit author names and emails +@authorsv: + echo "Commit authors ($(git shortlog -sn | wc -l | awk '{print $1}'))": + git shortlog -sne + # Check that we're on a release branch. (Hopefully the latest.) _on-release-branch: #!/usr/bin/env bash