Skip to content

Commit

Permalink
fix(makefile): Adds linker flags to install command in dev target
Browse files Browse the repository at this point in the history
  • Loading branch information
nszilard committed Jan 16, 2022
1 parent cfb6971 commit 786a052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ show-coverage: coverage ## Shows code coverage report in your web browser
.PHONY: dev
dev: fmt check ## Builds a local dev version
@go build -ldflags "-X 'github.com/nszilard/slack/cmd.appVersion=${LATEST_VERSION}-dev'" -o .target/local/${BINARY}
@go install
@go install -ldflags "-X 'github.com/nszilard/slack/cmd.appVersion=${LATEST_VERSION}-dev'"

.PHONY: package
package: clean bootstrap check ## Builds a production version
Expand Down

0 comments on commit 786a052

Please sign in to comment.