We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9cd5b1 commit 97646feCopy full SHA for 97646fe
.gitignore
@@ -2,4 +2,6 @@
2
*.test
3
!test/data/*.test
4
trivyignores
5
-.vscode/
+.vscode/
6
+
7
+.cache
Makefile
@@ -1,4 +1,15 @@
1
-.PHONY: test
+OS := $(shell uname)
+ifeq ($(OS), Darwin)
+BATS_LIB_PATH=/opt/homebrew/lib
+endif
+ifeq ($(OS), Linux)
+BATS_LIB_PATH=/usr/local/lib/
8
9
10
+.PHONY: test
11
test:
- BATS_LIB_PATH=/usr/local/lib/ bats --recursive --timing --verbose-run .
12
+ mkdir -p .cache
13
+ BATS_LIB_PATH=$(BATS_LIB_PATH) GITHUB_REPOSITORY_OWNER=aquasecurity\
14
+ TRIVY_CACHE_DIR=.cache TRIVY_DISABLE_VEX_NOTICE=true TRIVY_DEBUG=true\
15
+ bats --recursive --timing --verbose-run .
0 commit comments