Skip to content

Commit

Permalink
tweak, drop darwin386 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ripexz committed Aug 31, 2021
1 parent ee2cb1c commit 151a860
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

SHELL=/bin/bash
MAKE=/usr/bin/make
platforms="windows/amd64" "windows/386" "darwin/amd64" "darwin/386" "linux/amd64" "linux/386"
platforms="windows/amd64" "windows/386" "darwin/amd64" "linux/amd64" "linux/386"

build: build-windows-amd64 build-windows-386 build-darwin-amd64 build-darwin-386 build-linux-amd64 build-linux-386
build: build-windows-amd64 build-windows-386 build-darwin-amd64 build-linux-amd64 build-linux-386

clean:
rm -f logpasta-*
Expand All @@ -18,9 +18,6 @@ build-windows-386:
build-darwin-amd64:
GOOS=darwin GOARCH=amd64 ./build.sh

build-darwin-386:
GOOS=darwin GOARCH=386 ./build.sh

build-linux-amd64:
GOOS=linux GOARCH=amd64 ./build.sh

Expand Down
2 changes: 1 addition & 1 deletion logpasta.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func main() {
if conf.Copy {
err = clipboard.Copy(pasteURL)
if err != nil {
output += fmt.Sprintf("\n(failed to copy to clipboard)")
output += "\n(failed to copy to clipboard)"
if !conf.Silent {
output += fmt.Sprintf("\nError: %s", err.Error())
}
Expand Down

0 comments on commit 151a860

Please sign in to comment.