From af806b047446203aa714ae23b880e17bcf715294 Mon Sep 17 00:00:00 2001 From: Himanshu Sardana Date: Wed, 25 Mar 2026 09:45:52 +0000 Subject: feat: add build command --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c06f65a..fbb73d6 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,17 @@ all: run run: - go run . + go run ./cmd build: + go run ./cmd build + +build-release: echo "Building Kite release" - go build -ldflags="-s -w" -o kite-release + go build -ldflags="-s -w" -o kite-release ./cmd upx --best --lzma kite-release echo "Successfully built release binary" stat -c %s ./kite-release serve: - go run main.go serve + go run ./cmd serve -- cgit v1.3.1