-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
37 lines (30 loc) · 802 Bytes
/
Taskfile.yml
File metadata and controls
37 lines (30 loc) · 802 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
# yaml-language-server: $schema=https://taskfile.dev/schema.json
# SPDX-FileCopyrightText: 2025 Dominik Wombacher <dominik@wombacher.cc>
#
# SPDX-License-Identifier: Apache-2.0
version: '3'
tasks:
default:
cmd: task --list
silent: true
build:
desc: Build params2env
cmds:
- go build -o params2env
test:
desc: Run tests with coverage
cmds:
- go test -v -cover ./...
clean:
desc: Clean up build artifacts
cmds:
- rm -f params2env
- rm -f coverage.out
release:
desc: Create release (Changelog, Git tag, push)
cmds:
- cz bump
# Push main branch with skip-ci to avoid triggering workflows
- git push origin main -o skip-ci
# Push tag (triggers sr.ht build git mirroring)
- git push origin --tags