Compare commits

..

2 commits

Author SHA1 Message Date
Savely Krendelhoff baa7527fb5
Update README.md 2025-08-23 18:58:39 +07:00
Savely Krendelhoff 89b5fb9cf1
Update Taskfile 2025-08-23 18:57:46 +07:00
2 changed files with 4 additions and 4 deletions

View file

@ -29,10 +29,10 @@ go build -o client ./cmd/client
task check
# Start server
task server
task server -- -config config.yaml
# Connect client
task client
task client -- --addr=localhost:8080
# Run tests
task test

View file

@ -98,7 +98,7 @@ tasks:
desc: Build and run the server
cmds:
- go build -o hash-of-wisdom ./cmd/server
- ./hash-of-wisdom
- ./hash-of-wisdom {{.CLI_ARGS}}
server-config:
desc: Build and run the server with custom config
@ -110,7 +110,7 @@ tasks:
desc: Build and run the client
cmds:
- go build -o client ./cmd/client
- ./client -addr {{.ADDR | default "localhost:8080"}}
- ./client {{.CLI_ARGS | default "-addr localhost:8080"}}
docker-build:
desc: Build Docker image