refactor: make graph target cross-platform

Replaced macOS-specific open command with file:// URL echo for cross-platform compatibility.
This commit is contained in:
2026-01-11 16:10:47 -05:00
parent a13c5602dc
commit 2673092b32

View File

@@ -31,7 +31,7 @@ explain: build
graph:
go tool pprof -raw -output=profile/cpu.raw profile/cpu.prof
go tool pprof -svg profile/cpu.prof > profile/cpu.svg
open profile/cpu.svg
echo ">>> View at 'file://$(PWD)/profile/cpu.svg'"
docs:
echo ">>> View at 'http://localhost:6060/pkg/git.maximhutz.com/max/lambda/'"