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
|
||||
|
||||
# 将所有文件 amend
|
||||
amend:
|
||||
cd "{{root}}" && git add . && git commit --amend
|
||||
|
||||
# 将所有文件 commit
|
||||
commit msg:
|
||||
cd "{{root}}" && git add . && git commit -m "{{msg}}"
|
||||
amend argument="":
|
||||
cd "{{root}}" && git add . && git commit --amend {{argument}}
|
||||
|
||||
# 统计代码量
|
||||
cloc:
|
||||
@@ -31,6 +27,8 @@ cloc:
|
||||
|
||||
# === just 管理命令 ===
|
||||
|
||||
import? "justfile.local"
|
||||
|
||||
bashrc := "$HOME/.bashrc"
|
||||
# 设置 just 的命令补全
|
||||
@setup-completions:
|
||||
|
||||
Reference in New Issue
Block a user