This print killed it, my lord

main
Jef Roosens 2022-01-12 21:22:23 +01:00
parent 05e725eb4e
commit d6e686a8dc
Signed by untrusted user: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 6 additions and 2 deletions

View File

@ -26,9 +26,13 @@ vieter-prod: $(SOURCES)
# =====EXECUTION===== # =====EXECUTION=====
# Run the server in the default 'data' directory # Run the server in the default 'data' directory
.PHONY: run .PHONY: run
run: vieter run: debug
API_KEY=test REPO_DIR=data LOG_LEVEL=DEBUG ./vieter 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 # Same as run, but restart when the source code changes
.PHONY: watch .PHONY: watch
watch: watch:

View File

@ -16,5 +16,5 @@ pub fn list_filenames() {
a := C.archive_read_new() a := C.archive_read_new()
C.archive_read_support_filter_all(a) C.archive_read_support_filter_all(a)
C.archive_read_support_format_all(a) C.archive_read_support_format_all(a)
println(a) // println(a)
} }