-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmise.toml
52 lines (40 loc) · 1.08 KB
/
mise.toml
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
46
47
48
49
50
51
52
[tasks.build]
run = "go build -o bin/cli cmd/cli/main.go"
[tasks.clean]
run = "rm -rf bin dist docs/dist"
[tasks.test]
run = "go test -short ./..."
[tasks.test-integration]
run = "go test -v ./integration_tests"
[tasks.test-update-snapshots]
run = "UPDATE_SNAPS=true go test -short ./..."
[tasks.check]
run = """
go vet ./...
go fmt ./...
golangci-lint run
"""
[tasks.tidy]
run = "go mod tidy"
[tasks.docs-build]
dir = "docs"
run = "bun run build"
[tasks.docs-dev]
dir = "docs"
run = "bun run dev"
[tasks.run-with-frontend]
run = "bun scripts/run-with-frontend.ts"
[tasks.build-and-push-frontend]
run = """
docker build -t railpack-frontend:latest \
--label "org.opencontainers.image.source=https://github.com/railwayapp/railpack" \
--label "org.opencontainers.image.description=BuildKit frontend for Railpack" \
--label "org.opencontainers.image.licenses=MIT" \
-f frontend.Dockerfile .
docker tag railpack-frontend:latest ghcr.io/railwayapp/railpack:railpack-frontend
docker push ghcr.io/railwayapp/railpack:railpack-frontend
"""
[tools]
go = "1.23.4"
golangci-lint = "1.63.4"
bun = "1.2"