Skip to content

Commit

Permalink
fix: solved Makefile's typo bug
Browse files Browse the repository at this point in the history
Signed-off-by: daz-3ux <[email protected]>
  • Loading branch information
Daz-3ux committed Sep 10, 2023
1 parent a97ef19 commit 9440e49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ OUTPUT_DIR := $(ROOT_DIR)/_output

# specify the version package used by the application
# values will be injected into the package using '-ldflags -X'
VERSION_PACKAGE=github.com/daz-3ux/dBlog/pkg/version
VERSION_PACKAGE=github.com/Daz-3ux/dBlog/pkg/version

## define readable version number
ifeq ($(origin VERSION), undefined)
Expand Down Expand Up @@ -43,7 +43,7 @@ all: add-copyright format build

.PHONY: build
build: tidy # compile source code, auto adding/removing dependency packages depending on "tidy" target
go build -v -ldflags "$(GO_LDFLAGS)" -o $(OUTPUT_DIR)/dBlog $(ROOT_DIR)/cmd/dBlog/main.go
go build -gcflags "all=-N -l" -v -ldflags "$(GO_LDFLAGS)" -o $(OUTPUT_DIR)/dBlog $(ROOT_DIR)/cmd/dBlog/main.go

.PHONY: format
format: # format source code
Expand Down

0 comments on commit 9440e49

Please sign in to comment.