summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index fbb73d6..73666c2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,15 @@
all: run
run:
- go run ./cmd
+ go run .
build:
- go run ./cmd build
+ go build .
build-release:
- echo "Building Kite release"
- go build -ldflags="-s -w" -o kite-release ./cmd
+ go build -ldflags="-s -w" -o kite-release
upx --best --lzma kite-release
- echo "Successfully built release binary"
stat -c %s ./kite-release
serve:
- go run ./cmd serve
+ go run . serve