parent
fcdf411841
commit
a10abc5598
1 changed files with 6 additions and 3 deletions
|
@ -225,12 +225,15 @@ rwx_code_modules() {
|
||||||
|
|
||||||
# check source code
|
# check source code
|
||||||
rwx_code_check() {
|
rwx_code_check() {
|
||||||
# check format
|
|
||||||
rwx_log
|
|
||||||
rwx_shfmt "${rwx_main_root}"
|
|
||||||
# check syntax
|
# check syntax
|
||||||
rwx_log
|
rwx_log
|
||||||
rwx_shellcheck "${rwx_main_root}"
|
rwx_shellcheck "${rwx_main_root}"
|
||||||
|
# check format
|
||||||
|
rwx_log
|
||||||
|
rwx_shfmt "${rwx_main_root}"
|
||||||
|
rwx_log
|
||||||
|
[ -e "${rwx_code_root}" ] &&
|
||||||
|
rwx_shfmt "${rwx_code_root}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# fetch matching doc for given name
|
# fetch matching doc for given name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue