summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHimanshu Sardana <himanshusardana2005@gmail.com>2026-03-25 09:45:52 +0000
committerHimanshu Sardana <himanshusardana2005@gmail.com>2026-03-25 09:45:52 +0000
commitaf806b047446203aa714ae23b880e17bcf715294 (patch)
tree2fbd18537b72258d6dcde45b0041618b8cf4e774 /Makefile
parent8056adbc8fd1ec8e4ac165c79f678de3f270e896 (diff)
feat: add build <theme> command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
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