make makefile

This commit is contained in:
2025-08-30 20:55:07 +03:00
parent c04ab43737
commit b55d9f7d8f

11
Makefile Normal file
View File

@@ -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/