mirror of
https://github.com/TheZoraiz/ascii-image-converter.git
synced 2026-05-17 08:56:03 +03:00
Added macOS to goreleaser
This commit is contained in:
@@ -11,6 +11,7 @@ builds:
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
- darwin
|
||||
|
||||
goarch:
|
||||
# Architectures for executable binary generation
|
||||
@@ -47,6 +48,7 @@ archives:
|
||||
replacements:
|
||||
linux: Linux
|
||||
windows: Windows
|
||||
darwin: macOS
|
||||
amd64: amd64_64bit
|
||||
arm64: arm64_64bit
|
||||
386: i386_32bit
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user