Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
mchmarny committed Apr 2, 2023
1 parent 5cc6308 commit 58aa08e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sboms:
builds:
- binary: vulctl
mod_timestamp: '{{ .CommitTimestamp }}'
dir: ./cmd
dir: ./internal/cmd
env:
- CGO_ENABLED=0
flags:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ build: tidy ## Builds CLI binary
-w -s -X main.commit=$(COMMIT) \
-w -s -X main.date=$(CURRENT_DATE) \
-extldflags '-static'" \
-a -mod vendor -o bin/vulctl cmd/main.go
-a -mod vendor -o bin/vulctl internal/cmd/main.go

.PHONY: setup
setup: ## Creates the GCP resources
Expand Down

0 comments on commit 58aa08e

Please sign in to comment.