Skip to content

Commit bca9522

Browse files
committed
build: add taskfile
1 parent 8d65523 commit bca9522

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

taskfile.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# yaml-language-server: $schema=https://taskfile.dev/schema.json
2+
3+
version: '3'
4+
5+
tasks:
6+
docker:
7+
desc: Build a Docker image for your current OS and architecture.
8+
9+
cmds:
10+
- docker build -t certstream-server-go:latest -f docker/Dockerfile.multistage .
11+
silent: true
12+
13+
test:
14+
desc: Run test suite.
15+
cmds:
16+
- go test -v ./...
17+
18+
build:
19+
desc: Build the server binary for your current OS and architecture.
20+
cmds:
21+
- go build ./cmd/certstream-server-go

0 commit comments

Comments
 (0)