Skip to content

Commit

Permalink
(TOOLS) add osv-scanner.sh
Browse files Browse the repository at this point in the history
Issue #331
  • Loading branch information
jtmoon79 committed Nov 24, 2024
1 parent 20c469c commit 9bbc405
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tools/osv-scanner.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
#
# run `osv-scanner` with preferred options
#
# https://google.github.io/osv-scanner/installation/
#

set -eu

cd "$(dirname -- "${0}")/.."

export PATH=${PATH}:~/.cargo/bin
set -x

osv-scanner help
exec osv-scanner scan -r --call-analysis=rust .

0 comments on commit 9bbc405

Please sign in to comment.