-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathtaskfile.yml
More file actions
45 lines (36 loc) · 942 Bytes
/
Copy pathtaskfile.yml
File metadata and controls
45 lines (36 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"
tasks:
docker:
desc: Build a Docker image for your current OS and architecture.
cmds:
- docker build -t certstream-server-go:latest -f docker/Dockerfile.multistage .
silent: true
test:
desc: Run test suite.
cmds:
- go test -v ./...
run:
desc: Run the server binary.
cmds:
- go run ./cmd/certstream-server-go
build:
desc: Build the server binary for your current OS and architecture.
cmds:
- go build ./cmd/certstream-server-go
build-arm:
desc: Build the server binary for ARM architecture.
cmds:
- go build ./cmd/certstream-server-go
env:
GOARCH: arm64
GOOS: linux
lint:
desc: Run linters.
cmds:
- golangci-lint run --config .golangci.yml
update-deps:
desc: Update dependencies.
cmds:
- go get -u ./...
- go mod tidy