Skip to content

Commit

Permalink
Add make build target
Browse files Browse the repository at this point in the history
  • Loading branch information
dadgar committed Feb 14, 2024
1 parent 5cdd5da commit 89d216a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@

# Go workspace file
go.work

# bin/ directory
bin/*
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ MOCKERY_OUTPUT_FILES=internal/pkg/api/iampolicy/mock_setter.go \

default: help

.PHONY: build
build: ## Build the HCP CLI binary
@go build -o bin/ ./...

.PHONY: go/lint
go/lint: ## Run the Go Linter
@golangci-lint run
Expand Down

0 comments on commit 89d216a

Please sign in to comment.