-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmise.toml
More file actions
38 lines (28 loc) · 724 Bytes
/
mise.toml
File metadata and controls
38 lines (28 loc) · 724 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
[env]
PROJECT_NAME = "temp"
[tasks.clean]
run = "rm -rf bin internal/gen pkg/gen"
[tasks.setup]
run = "go mod download"
[tasks.generate]
run = "bash scripts/generate.sh"
[tasks.format]
run = "bash scripts/format.sh"
[tasks.lint]
run = "bash scripts/lint.sh"
[tasks.test]
run = "go test ./..."
[tasks.build]
env = { CGO_ENABLED = "0", GOOS = "linux", GOARCH = "amd64" }
run = "go build -ldflags='-s -w' -trimpath -o bin/api cmd/api/main.go"
[tasks.serve]
run = "go run ./cmd/api"
[tasks.migrate]
run = "migrate -source file://db/migrations/ -database \"$DATABASE_URL\" up"
[tools]
"aqua:quarylabs/sqruff" = "0.34.1"
go = "1.26.1"
golangci-lint = "2.11.1"
gomigrate = "4.19.1"
oapi-codegen = "2.4.1"
sqlc = "1.30.0"