code/check
This commit is contained in:
parent
d7bdca5f12
commit
4a2a24a1b6
2 changed files with 18 additions and 14 deletions
14
sh/self.sh
14
sh/self.sh
|
@ -25,20 +25,6 @@ rwx_doc() {
|
|||
--file "${RWX_AWK}"
|
||||
}
|
||||
|
||||
# ╭──────┬───────╮
|
||||
# │ self │ check │
|
||||
# ╰──────┴───────╯
|
||||
|
||||
# check source code
|
||||
rwx_self_check() {
|
||||
# check format
|
||||
rwx_log
|
||||
rwx_shfmt "${RWX_ROOT_SYSTEM}"
|
||||
# check syntax
|
||||
rwx_log
|
||||
rwx_shellcheck "${RWX_ROOT_SYSTEM}"
|
||||
}
|
||||
|
||||
# ╭──────┬──────────╮
|
||||
# │ self │ commands │
|
||||
# ╰──────┴──────────╯
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue