From bf7bd4f5b86f37b01a72f6dd26b5c48f0b226027 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Tue, 6 May 2025 23:43:54 +0100 Subject: [PATCH] add run task --- Taskfile.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Taskfile.yml b/Taskfile.yml index d9f6a88..ea82cea 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -58,3 +58,14 @@ tasks: desc: Clean the build artifacts cmds: - '{{.SHELL}} rm -r {{.BIN_DIR}}' + + run: + desc: Run the q3rcon-proxy project + cmds: + - | + go run ./cmd/{{.PROGRAM}} \ + --proxy-host=0.0.0.0 \ + --target-host=localhost \ + --ports-mapping=28961:28960 \ + --session-timeout=20 \ + --loglevel=debug