mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 16:01:55 +03:00
Fix build with profiling
This commit is contained in:
@@ -16,6 +16,12 @@ sources = ["**/*.go", "go.mod", "go.sum"]
|
||||
outputs = ["mtg"]
|
||||
run = "go build"
|
||||
|
||||
[tasks."build:prof"]
|
||||
description = "Build binary with profiling enabled"
|
||||
sources = ["**/*.go", "go.mod", "go.sum"]
|
||||
outputs = ["mtg"]
|
||||
run = "go build -tags prof"
|
||||
|
||||
[tasks.update]
|
||||
description = "Update dependencies"
|
||||
run = [
|
||||
|
||||
Reference in New Issue
Block a user