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 task check
# Start server # Start server
task server task server -- -config config.yaml
# Connect client # Connect client
task client task client -- --addr=localhost:8080
# Run tests # Run tests
task test task test

View file

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