Skip to content

Commit

Permalink
Added macOS to goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
TheZoraiz committed Jul 29, 2021
1 parent 1bf7047 commit 70c91d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ builds:
goos:
- linux
- windows
- darwin

goarch:
# Architectures for executable binary generation
Expand Down Expand Up @@ -47,6 +48,7 @@ archives:
replacements:
linux: Linux
windows: Windows
darwin: macOS
amd64: amd64_64bit
arm64: arm64_64bit
386: i386_32bit
Expand Down
2 changes: 1 addition & 1 deletion aic_package/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func init() {
cmd.Run()
}
clear["windows"] = func() {
cmd := exec.Command("cmd", "/c", "cls") //Windows example, its tested
cmd := exec.Command("cmd", "/c", "cls")
cmd.Stdout = os.Stdout
cmd.Run()
}
Expand Down

0 comments on commit 70c91d7

Please sign in to comment.