File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 1+ export GO ?= go
2+
3+ .PHONY : all
4+ all : wireproxy
5+
6+ .PHONY : wireproxy
7+ wireproxy :
8+ tag=" $$ (git describe --tag 2>/dev/null)" && \
9+ ${GO} build -ldflags " -X 'main.version=$$ tag'" ./cmd/wireproxy
10+
11+ .PHONY : clean
12+ clean :
13+ ${RM} wireproxy
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ Arguments:
5252```
5353git clone https://github.com/octeep/wireproxy
5454cd wireproxy
55- go build ./cmd/wireproxy
55+ make
5656```
5757
5858# Sample config file
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import (
1414// an argument to denote that this process was spawned by -d
1515const daemonProcess = "daemon-process"
1616
17- var version = "1.0.4 -dev"
17+ var version = "1.0.5 -dev"
1818
1919// attempts to pledge and panic if it fails
2020// this does nothing on non-OpenBSD systems
You can’t perform that action at this time.
0 commit comments