Skip to content

Commit 6e54b21

Browse files
committed
feat(gh): add support for ci and release workflows
1 parent e5308f1 commit 6e54b21

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ builds:
44
env:
55
- CGO_ENABLED=0
66
goos:
7+
- darwin
78
- linux
89
- windows
910
goarch:

darwin.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//go:build darwin
2+
3+
package main
4+
5+
import (
6+
"os/exec"
7+
"syscall"
8+
)
9+
10+
func createAgentCommand(name string) *exec.Cmd {
11+
cmd := exec.Command(name)
12+
cmd.SysProcAttr = &syscall.SysProcAttr{
13+
// Darwin-specific settings if needed
14+
}
15+
return cmd
16+
}

0 commit comments

Comments
 (0)