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/