Skip to content
Myr

GOOS=windows make release

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent d206949 · Browse files · 1 file+8 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+8 added−1 removed

  • other:+8 added−1 removed

1 file+8 added−1 removed

modified:src/Makefile+8 added-1 removed
31 unmodified lines
32endif3334all: fzf/$(BINARY)3536ifeq ($(GOOS),windows)37release: fzf/$(BINARY32) fzf/$(BINARY64)38 -cd fzf && cp $(BINARY32) $(RELEASE32).exe && zip $(RELEASE32).zip $(RELEASE32).exe39 cd fzf && cp $(BINARY64) $(RELEASE64).exe && zip $(RELEASE64).zip $(RELEASE64).exe && \40 rm -f $(RELEASE32).exe $(RELEASE64).exe41else42release: test fzf/$(BINARY32) fzf/$(BINARY64)43 -cd fzf && cp $(BINARY32) $(RELEASE32) && tar -czf $(RELEASE32).tgz $(RELEASE32)44 cd fzf && cp $(BINARY64) $(RELEASE64) && tar -czf $(RELEASE64).tgz $(RELEASE64) && \45 rm -f $(RELEASE32) $(RELEASE64)46endif4748$(SRCDIR):49 mkdir -p $(shell dirname $(SRCDIR))50 ln -s $(ROOTDIR) $(SRCDIR)
7 unmodified lines
58 cd $(SRCDIR)/fzf && cp $(BINARYARM7) $(RELEASEARM7) && tar -czf $(RELEASEARM7).tgz $(RELEASEARM7) && \59 rm -f $(RELEASEARM7)6061test: deps55 SHELL=/bin/sh go test -v -tags "$(TAGS)" ./...62 SHELL=/bin/sh GOOS=$(GOOS) go test -v -tags "$(TAGS)" ./...6364install: $(BINDIR)/fzf6566uninstall:
57 unmodified lines