Skip to content

Commit

Permalink
refactor(make): better naming
Browse files Browse the repository at this point in the history
  • Loading branch information
mstruebing committed Oct 21, 2017
1 parent 3e523ee commit c318614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install: build
build: $(SOURCES)
$(COMPILE_COMMAND)

build-all-platforms: $(SOURCES) clean
build-all-binaries: $(SOURCES) clean
# doesn't work on my machine and not in travis, see: https://github.com/golang/go/wiki/GoArm
# GOOS=android GOARCH=arm $(COMPILE_COMMAND) && mv ./bin/tldr ./bin/tldr-android-arm
# GOOS=darwin GOARCH=arm $(COMPILE_COMMAND) && mv ./bin/tldr ./bin/tldr-darwin-arm
Expand Down Expand Up @@ -48,7 +48,7 @@ build-all-platforms: $(SOURCES) clean
GOOS=windows GOARCH=386 $(COMPILE_COMMAND) && mv ./bin/tldr ./bin/tldr-windows-386
GOOS=windows GOARCH=amd64 $(COMPILE_COMMAND) && mv ./bin/tldr ./bin/tldr-windows-amd64

compress-all-binaries: $(BINARIES)
compress-all-binaries: build-all-binaries
for f in $(BINARIES); do \
tar czf $$f.tar.gz $$f; \
done
Expand Down

0 comments on commit c318614

Please sign in to comment.