feat: multiple output modes and less logs at boot (fixes)
This commit is contained in:
@@ -56,11 +56,11 @@ build: $(BUILD_DIR)/$(TARGET)
|
||||
|
||||
.PHONY: run
|
||||
run: $(BUILD_DIR)/$(TARGET)
|
||||
@$(BUILD_DIR)/$(TARGET) $(RUN_ARGS) 2>&1 >> $(PROJECT_DIR)/forge.log
|
||||
@$(BUILD_DIR)/$(TARGET) $(RUN_ARGS) 2>&1 | tee -ai $(PROJECT_DIR)/forge.log 2>&1 > /dev/null
|
||||
|
||||
.PHONY: start-bg
|
||||
start-bg:
|
||||
@python3 $(PROJECT_DIR)/__main__.py 2>&1 >> $(PROJECT_DIR)/python.log 2>&1
|
||||
@python3 $(PROJECT_DIR)/__main__.py 2>&1 | tee -ai $(PROJECT_DIR)/python.log 2>&1 > /dev/null &
|
||||
|
||||
.PHONY: start-fg
|
||||
start-fg:
|
||||
|
||||
Reference in New Issue
Block a user