更新 justfile
All checks were successful
ci/woodpecker/push/ci-test Pipeline was successful

This commit is contained in:
2026-01-10 17:13:06 +08:00
parent 86bb4a4efb
commit 830310d8e5

View File

@@ -17,12 +17,8 @@ machine_ip := `ip -4 addr show scope global | grep -oP '(?<=inet\s)\d+(\.\d+){3}
fi fi
# 将所有文件 amend # 将所有文件 amend
amend: amend argument="":
cd "{{root}}" && git add . && git commit --amend cd "{{root}}" && git add . && git commit --amend {{argument}}
# 将所有文件 commit
commit msg:
cd "{{root}}" && git add . && git commit -m "{{msg}}"
# 统计代码量 # 统计代码量
cloc: cloc:
@@ -31,6 +27,8 @@ cloc:
# === just 管理命令 === # === just 管理命令 ===
import? "justfile.local"
bashrc := "$HOME/.bashrc" bashrc := "$HOME/.bashrc"
# 设置 just 的命令补全 # 设置 just 的命令补全
@setup-completions: @setup-completions: