Skip to content

Commit

Permalink
Add Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Chmouel Boudjnah <[email protected]>
  • Loading branch information
chmouel committed Sep 5, 2022
1 parent c8d372d commit b2d27fb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
GO := go
GOVERSION := 1.17
BINARYNAME := tktpoto

all: build

build: vendor mkbin
$(GO) build -o bin/$(BINARYNAME) main.go

tidy:
$(GO) mod tidy -compat=$(GOVERSION)

vendor: tidy
$(GO) mod vendor

mkbin:
mkdir -p ./bin

0 comments on commit b2d27fb

Please sign in to comment.