From b55d9f7d8f3ea6b5061384d2d59cf86c7ea03056 Mon Sep 17 00:00:00 2001 From: kisukalat Date: Sat, 30 Aug 2025 20:55:07 +0300 Subject: [PATCH] make makefile --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6f661e7 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +BINARY=kisurun +BUILD_DIR=build + +build: + @echo "Building $(BINARY)..." + go build -o $(BUILD_DIR)/$(BINARY) . + @echo "Copying templates and static..." + mkdir -p $(BUILD_DIR)/templates + mkdir -p $(BUILD_DIR)/static + cp -r templates/* $(BUILD_DIR)/templates/ + cp -r static/* $(BUILD_DIR)/static/