diff options
author | наб <[email protected]> | 2021-05-21 23:43:38 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-06-01 11:38:49 -0700 |
commit | c3ef9f7528d160faa08bbddfa29d7ad58835e1bd (patch) | |
tree | 92908b88b6e62697da5156129e2fe4b929411e64 /cmd/Makefile.am | |
parent | d3858ab78894cbd6d2b63d350a25dfa7ab378ce7 (diff) |
Turn shellcheck into a normal make target. Fix new files it caught
This checks every file it checked (and a few more),
but explicitly instead of "if it works it works" best-effort
(which wasn't that good anyway)
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #10512
Closes #12101
Diffstat (limited to 'cmd/Makefile.am')
-rw-r--r-- | cmd/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/Makefile.am b/cmd/Makefile.am index a3db31679..5fc9e8397 100644 --- a/cmd/Makefile.am +++ b/cmd/Makefile.am @@ -1,3 +1,5 @@ +include $(top_srcdir)/config/Shellcheck.am + SUBDIRS = zfs zpool zdb zhack zinject zstream ztest SUBDIRS += fsck_zfs vdev_id raidz_test zfs_ids_to_path SUBDIRS += zpool_influxdb @@ -5,6 +7,9 @@ SUBDIRS += zpool_influxdb CPPCHECKDIRS = zfs zpool zdb zhack zinject zstream ztest CPPCHECKDIRS += raidz_test zfs_ids_to_path zpool_influxdb +# TODO: #12084: SHELLCHECKDIRS = fsck_zfs vdev_id zpool +SHELLCHECKDIRS = fsck_zfs zpool + if USING_PYTHON SUBDIRS += arcstat arc_summary dbufstat endif @@ -12,6 +17,7 @@ endif if BUILD_LINUX SUBDIRS += mount_zfs zed zgenhostid zvol_id zvol_wait CPPCHECKDIRS += mount_zfs zed zgenhostid zvol_id +SHELLCHECKDIRS += zed endif PHONY = cppcheck |