add run task

This commit is contained in:
onyx-and-iris 2025-05-06 23:43:54 +01:00
parent a13d3d7da3
commit bf7bd4f5b8

View File

@ -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