mirror of
https://github.com/Snawoot/hola-proxy.git
synced 2026-04-02 20:58:11 +00:00
embed version into local install and local run as well
This commit is contained in:
7
Makefile
7
Makefile
@@ -60,9 +60,12 @@ fmt:
|
||||
go fmt ./...
|
||||
|
||||
run:
|
||||
go run .
|
||||
go run $(LDFLAGS) .
|
||||
|
||||
.PHONY: clean all native fmt \
|
||||
install:
|
||||
go install $(BUILDOPTS) $(LDFLAGS) .
|
||||
|
||||
.PHONY: clean all native fmt install \
|
||||
bin-native \
|
||||
bin-linux-amd64 \
|
||||
bin-linux-386 \
|
||||
|
||||
Reference in New Issue
Block a user