remove the verbose logging stuff. clean up README and comments from the weird nonsense LLMs added
This commit is contained in:
6
Makefile
6
Makefile
@@ -53,7 +53,6 @@ EXTRA_LINKER_FLAGS = $(LIB_PATH) $(SHIM_LIB) $(ROCKSDB_LIBS)
|
||||
PORT ?= 8002
|
||||
HOST ?= 0.0.0.0
|
||||
DATA_DIR ?= ./data
|
||||
VERBOSE ?= 0
|
||||
|
||||
# Colors for output
|
||||
BLUE := \033[0;34m
|
||||
@@ -62,7 +61,7 @@ YELLOW := \033[0;33m
|
||||
RED := \033[0;31m
|
||||
NC := \033[0m # No Color
|
||||
|
||||
# To this — use a sentinel file instead of the dir name
|
||||
# To this use a sentinel file instead of the dir name
|
||||
$(BUILD_DIR)/.dir:
|
||||
@mkdir -p $(BUILD_DIR)
|
||||
@touch $(BUILD_DIR)/.dir
|
||||
@@ -101,7 +100,6 @@ run: build
|
||||
@JORMUN_PORT=$(PORT) \
|
||||
JORMUN_HOST=$(HOST) \
|
||||
JORMUN_DATA_DIR=$(DATA_DIR) \
|
||||
JORMUN_VERBOSE=$(VERBOSE) \
|
||||
$(BUILD_DIR)/$(PROJECT_NAME)
|
||||
|
||||
# Run with custom port
|
||||
@@ -209,9 +207,7 @@ help:
|
||||
@echo " PORT=$(PORT) - Server port"
|
||||
@echo " HOST=$(HOST) - Bind address"
|
||||
@echo " DATA_DIR=$(DATA_DIR) - RocksDB data directory"
|
||||
@echo " VERBOSE=$(VERBOSE) - Enable verbose logging (0/1)"
|
||||
@echo ""
|
||||
@echo "$(GREEN)Examples:$(NC)"
|
||||
@echo " make run PORT=9000"
|
||||
@echo " make run DATA_DIR=/tmp/jormun VERBOSE=1"
|
||||
@echo " make dev"
|
||||
|
||||
Reference in New Issue
Block a user