Skip to content

Commit

Permalink
Merge pull request #15 from robgonnella/fix-issue-with-build
Browse files Browse the repository at this point in the history
Fix issue building with / without tags
  • Loading branch information
robgonnella committed Dec 12, 2023
2 parents 64ba443 + f21088b commit d6fa471
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ all: $(app_name)

# builds main executable
$(prefix)/$(app_name): $(go_deps)
ifeq ($(build_tags),)
go build $(flags) -o $(@)
else
go build $(flags) -o $(@) -tags $(build_tags)
endif


# build main executable
.PHONY: $(app_name)
Expand Down

0 comments on commit d6fa471

Please sign in to comment.