Skip to content

Commit

Permalink
Add the generated scan results proto file in the source to make "go i…
Browse files Browse the repository at this point in the history
…nstall" work.

FolderOrigin-RevId: /google/src/cloud/erikvarga/empty/google3/third_party/scalibr/../../..
  • Loading branch information
SCALIBR Team authored and erikvarga committed Jun 7, 2024
1 parent c45fdee commit 192ae6e
Show file tree
Hide file tree
Showing 4 changed files with 2,611 additions and 1 deletion.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ scalibr-static: protos
CGO_ENABLED=1 go build -ldflags="-extldflags=-static" binary/scalibr.go

clean:
rm -rf binary/proto/*_go_proto
rm -f scalibr
4 changes: 4 additions & 0 deletions binary/proto/scan_result.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ import "google/protobuf/timestamp.proto";
option go_package = "github.com/google/scalibr/binary/proto/scan_result_go_proto";
option java_multiple_files = true;

// Proto file describing the SCALIBR scan results. Whenever this proto is
// modified make sure to regenerate the go_proto file by running
// `make protos`

// The software inventory and security findings that a scan run found.
message ScanResult {
string version = 1;
Expand Down
Loading

0 comments on commit 192ae6e

Please sign in to comment.