Compare commits

..

2 commits

Author SHA1 Message Date
Savely Krendelhoff c393ecd0dc
Update README.md 2025-08-23 18:53:40 +07:00
Savely Krendelhoff 902bb3a854
Update Taskfile 2025-08-23 18:53:32 +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 -- -config config.yaml
task server
# Connect client
task client -- --addr=localhost:8080
task client
# 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 {{.CLI_ARGS}}
- ./hash-of-wisdom
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 {{.CLI_ARGS | default "-addr localhost:8080"}}
- ./client -addr {{.ADDR | default "localhost:8080"}}
docker-build:
desc: Build Docker image