aboutsummaryrefslogtreecommitdiff
path: root/mise.toml
blob: bfa3c33f2ca924f3574018077143c493280e51cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

[tools]
go = "1.27"

[tasks.build]
description = "Build the ray tracer binary"
run = "go build -o goraytracer ."

[tasks.run]
description = "Render the default scene to img.png (2000x1000, ~5s)"
run = "go run ."

[tasks.check]
description = "Format, vet, apply go fix, and build"
run = [
  "go fmt ./...",
  "go fix -diff ./...",
  "go vet ./...",
  "go build ./...",
]

[tasks.clean]
description = "Remove rendered image and binary"
run = "rm -f img.png goraytracer"