Skip to content

Commit f3cea40

Browse files
authored
Added Makefile + fixed version mismatch (#336)
* fixed version mismatch * added makefile
1 parent cdf4c1a commit f3cea40

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Go parameters
2+
GOCMD=go
3+
GOBUILD=$(GOCMD) build
4+
GOMOD=$(GOCMD) mod
5+
GOTEST=$(GOCMD) test
6+
GOFLAGS := -v
7+
LDFLAGS := -s -w
8+
9+
ifneq ($(shell go env GOOS),darwin)
10+
LDFLAGS := -extldflags "-static"
11+
endif
12+
13+
all: build
14+
build:
15+
$(GOBUILD) $(GOFLAGS) -ldflags '$(LDFLAGS)' -o "proxify" cmd/proxify/proxify.go
16+
test:
17+
$(GOTEST) $(GOFLAGS) ./...
18+
tidy:
19+
$(GOMOD) tidy

internal/runner/banner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const banner = `
1414
`
1515

1616
// Version is the current version
17-
const version = `0.0.9`
17+
const version = `0.0.11`
1818

1919
// showBanner is used to show the banner to the user
2020
func showBanner() {

0 commit comments

Comments
 (0)