summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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