Skip to content
Myr

Remove brew target

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 789f26b · Browse files · 2 files+3 added−21 removed
This commit

State

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

Diff stats

2 files+3 added−21 removed

  • other:+3 added−21 removed

2 files+3 added−21 removed

modified:src/Makefile+3 added-18 removed
19 unmodified lines
20BINARY64 := fzf-$(GOOS)_amd6421VERSION = $(shell fzf/$(BINARY64) --version)22RELEASE32 = fzf-$(VERSION)-$(GOOS)_38623RELEASE64 = fzf-$(VERSION)-$(GOOS)_amd6424BREW = fzf-$(VERSION)-homebrew.tgz2425all: test release2628brew: ../$(BREW)2930../$(BREW): release31ifneq ($(UNAME_S),Darwin)32$(error brew package must be built on OS X)33endif34 mkdir -p ../bin && \35 cp fzf/$(RELEASE64) fzf/$(RELEASE32) ../bin && \36 cd .. && ln -sf . fzf-$(VERSION) && \37 tar -cvzf $(BREW) \38 fzf-$(VERSION)/{{,un}install,fzf-completion.{ba,z}sh,LICENSE} \39 fzf-$(VERSION)/{plugin/fzf.vim,bin/{$(RELEASE64),$(RELEASE32)}} && \40 rm fzf-$(VERSION) && \41 openssl sha1 $(notdir $@)4227release: build28 cd fzf && \29 cp $(BINARY32) $(RELEASE32) && tar -czf $(RELEASE32).tgz $(RELEASE32) && \46 cp $(BINARY64) $(RELEASE64) && tar -czf $(RELEASE64).tgz $(RELEASE64)30 cp $(BINARY64) $(RELEASE64) && tar -czf $(RELEASE64).tgz $(RELEASE64) && \31 rm $(RELEASE32) $(RELEASE64)3233build: fzf/$(BINARY32) fzf/$(BINARY64)3435test:
34 unmodified lines
70$(DISTRO): docker71 docker run -i -t -v $(GOPATH):/go junegunn/$(DISTRO)-sandbox \72 sh -c 'cd /go/src/github.com/junegunn/fzf/src; /bin/bash'7389.PHONY: all brew build release test install uninstall clean docker linux $(DISTRO)74.PHONY: all build release test install uninstall clean docker linux $(DISTRO)
modified:src/README.md-3 removed