summaryrefslogtreecommitdiff
path: root/Magefile.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-07 11:36:38 +0300
committerPaul Buetow <paul@buetow.org>2025-09-07 11:36:38 +0300
commitfb06bfa9dc7140f987bdbad59467a84610221fbb (patch)
treeb8ebf92c121a32eed0dc5e193c5877c5d0b94e6b /Magefile.go
parent0d424adfc64da1c61296c66a99162ec68cc4f8d0 (diff)
refactor: move hexai-action to cmd/hexai-action; extract orchestration into internal/hexaiaction; move tests; update Magefile and docs
Diffstat (limited to 'Magefile.go')
-rw-r--r--Magefile.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/Magefile.go b/Magefile.go
index bd55ef6..16ff7c0 100644
--- a/Magefile.go
+++ b/Magefile.go
@@ -43,8 +43,8 @@ func BuildHexaiCLI() error {
// BuildHexaiAction builds the hexai-action TUI binary.
func BuildHexaiAction() error {
- printCoverage()
- return sh.RunV("go", "build", "-o", "hexai-action", "cmd/internal/hexai-action/main.go")
+ printCoverage()
+ return sh.RunV("go", "build", "-o", "hexai-action", "cmd/hexai-action/main.go")
}
// Dev runs tests, vet, lint, then builds with race for both binaries.
@@ -57,7 +57,7 @@ func Dev() error {
if err := sh.RunV("go", "build", "-race", "-o", "hexai", "cmd/hexai/main.go"); err != nil {
return err
}
- return sh.RunV("go", "build", "-race", "-o", "hexai-action", "cmd/internal/hexai-action/main.go")
+ return sh.RunV("go", "build", "-race", "-o", "hexai-action", "cmd/hexai-action/main.go")
}
// Run launches the LSP server via go run (useful during development).
@@ -102,9 +102,9 @@ func Install() error {
// RunAction runs the hexai-action TUI via go run (reads stdin).
func RunAction() error {
- printCoverage()
- mg.Deps(Dev)
- return sh.RunV("go", "run", "cmd/internal/hexai-action/main.go")
+ printCoverage()
+ mg.Deps(Dev)
+ return sh.RunV("go", "run", "cmd/hexai-action/main.go")
}
// printCoverage prints a warning if an existing coverage profile shows total < coverateThreshold.