Makefile: Use --verify when packing
This commit is contained in:
parent
432a727f41
commit
8a198b259a
8
Makefile
8
Makefile
|
@ -3,17 +3,17 @@ out/osqtool:
|
|||
GOBIN=$(CURDIR)/out go install github.com/chainguard-dev/osqtool/cmd/osqtool@latest
|
||||
|
||||
out/odk-detection.sql: out/osqtool
|
||||
./out/osqtool pack detection/ > out/odk-detection.conf
|
||||
./out/osqtool --verify pack detection/ > out/odk-detection.conf
|
||||
|
||||
out/odk-policy.sql: out/osqtool
|
||||
./out/osqtool pack policy/ > out/odk-policy.conf
|
||||
./out/osqtool --verify pack policy/ > out/odk-policy.conf
|
||||
|
||||
out/odk-incident_response.sql: out/osqtool
|
||||
./out/osqtool pack incident_response/ > out/odk-incident_response.conf
|
||||
./out/osqtool --verify pack incident_response/ > out/odk-incident_response.conf
|
||||
|
||||
packs: out/odk-detection.sql out/odk-policy.sql out/odk-incident_response.sql
|
||||
|
||||
out/odk-packs.zip: packs
|
||||
cd out && zip odk-packs.zip *.conf
|
||||
|
||||
all: out/odk-packs.zip
|
||||
all: out/odk-packs.zip
|
||||
|
|
Loading…
Reference in New Issue