From d6e686a8dc5f550da4c26ac53e1fca821f1ef10d Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Wed, 12 Jan 2022 21:22:23 +0100 Subject: [PATCH] This print killed it, my lord --- Makefile | 6 +++++- src/archive.v | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 137c52b0..0aa3f879 100644 --- a/Makefile +++ b/Makefile @@ -26,9 +26,13 @@ vieter-prod: $(SOURCES) # =====EXECUTION===== # Run the server in the default 'data' directory .PHONY: run -run: vieter +run: debug API_KEY=test REPO_DIR=data LOG_LEVEL=DEBUG ./vieter +.PHONY: run-prod +run-prod: prod + API_KEY=test REPO_DIR=data LOG_LEVEL=DEBUG ./vieter-prod + # Same as run, but restart when the source code changes .PHONY: watch watch: diff --git a/src/archive.v b/src/archive.v index ef36205d..4ae94d7b 100644 --- a/src/archive.v +++ b/src/archive.v @@ -16,5 +16,5 @@ pub fn list_filenames() { a := C.archive_read_new() C.archive_read_support_filter_all(a) C.archive_read_support_format_all(a) - println(a) + // println(a) }