Add make install target

This commit is contained in:
Dan Sosedoff 2022-09-18 10:14:51 -05:00
parent 1f65fec9ea
commit 13091c2a7c
No known key found for this signature in database
GPG Key ID: 26186197D282B164

View File

@ -36,6 +36,10 @@ build:
go build
@echo "You can now execute ./pgweb"
install:
go install
@echo "You can now execute pgweb"
release: LDFLAGS += -X $(PKG)/pkg/command.GitCommit=$(GIT_COMMIT)
release: LDFLAGS += -X $(PKG)/pkg/command.BuildTime=$(BUILD_TIME)
release: LDFLAGS += -X $(PKG)/pkg/command.GoVersion=$(GO_VERSION)