-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
26 lines (20 loc) · 929 Bytes
/
mise.toml
File metadata and controls
26 lines (20 loc) · 929 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
[tools]
go = "1.25.1"
[tasks.build]
run = "CGO_ENABLED=0 go build -trimpath -buildvcs=false -ldflags='-s -w -buildid=' -o ./bin/copilot-proxy ./cmd/copilot-api-proxy"
description = "Build the application binary with size optimizations"
[tasks.run]
run = "go run ./cmd/copilot-api-proxy/main.go"
description = "Run the application directly"
[tasks.fmt]
run = "go tool golang.org/x/tools/cmd/goimports -w . && go tool mvdan.cc/gofumpt -w ."
description = "Format all Go source files with goimports and gofumpt"
[tasks.test]
run = "go test -v ./..."
description = "Run all tests"
[tasks.release_gh]
run = "GITHUB_TOKEN=$(gh auth token) go tool github.com/goreleaser/goreleaser/v2 --clean"
description = "Build and publish a GitHub draft release using gh auth token"
[tasks.release]
run = "go tool github.com/goreleaser/goreleaser/v2 --snapshot --clean"
description = "Local snapshot release and copy release assets into dist"