This commit is contained in:
10
justfile
10
justfile
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user