Skip to content

Commit

Permalink
plugins/semgrep: include/install semgrep plugin in make-srpm.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyw committed Feb 21, 2024
1 parent 0485c06 commit 052ab1e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions make-srpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,13 @@ Requires: csmock-common
%description -n csmock-plugin-pylint
This package contains the pylint plug-in for csmock.
%package -n csmock-plugin-semgrep
Summary: csmock plug-in providing the support for semgrep scan
Requires: csmock-common
%description -n csmock-plugin-semgrep
This package contains the semgrep plug-in for csmock.
%package -n csmock-plugin-shellcheck
Summary: csmock plug-in providing the support for ShellCheck.
Requires: csmock-common
Expand Down Expand Up @@ -330,6 +337,10 @@ This package contains the unicontrol plug-in for csmock.
%{python3_sitelib}/csmock/plugins/pylint.py*
%{python3_sitelib}/csmock/plugins/__pycache__/pylint.*
%files -n csmock-plugin-semgrep
%{python3_sitelib}/csmock/plugins/semgrep.py*
%{python3_sitelib}/csmock/plugins/__pycache__/semgrep.*
%files -n csmock-plugin-shellcheck
%{_datadir}/csmock/scripts/run-shellcheck.sh
%{python3_sitelib}/csmock/plugins/shellcheck.py*
Expand Down
1 change: 1 addition & 0 deletions py/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ if(ENABLE_CSMOCK)
install_plugin(gitleaks)
install_plugin(infer)
install_plugin(pylint)
install_plugin(semgrep)
install_plugin(shellcheck)
install_plugin(smatch)
install_plugin(snyk)
Expand Down

0 comments on commit 052ab1e

Please sign in to comment.