Refactor Makefile
This commit is contained in:
parent
383f908cf7
commit
6109a0fe44
@ -44,6 +44,7 @@ install: fzf/$(BINARY64)
|
|||||||
clean:
|
clean:
|
||||||
cd fzf && rm -f $(BINARY32) $(BINARY64) $(RELEASE32).tgz $(RELEASE64).tgz
|
cd fzf && rm -f $(BINARY32) $(BINARY64) $(RELEASE32).tgz $(RELEASE64).tgz
|
||||||
|
|
||||||
|
# Linux distribution to build fzf on
|
||||||
DISTRO := ubuntu
|
DISTRO := ubuntu
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
@ -57,12 +58,4 @@ $(DISTRO): docker
|
|||||||
docker run -i -t -v $(shell cd ..; pwd):/fzf junegunn/$(DISTRO)-sandbox \
|
docker run -i -t -v $(shell cd ..; pwd):/fzf junegunn/$(DISTRO)-sandbox \
|
||||||
sh -c 'cd /go/src/github.com/junegunn/fzf/src; /bin/bash'
|
sh -c 'cd /go/src/github.com/junegunn/fzf/src; /bin/bash'
|
||||||
|
|
||||||
arch: docker
|
|
||||||
docker run -i -t -v $(shell cd ..; pwd):/fzf junegunn/arch-sandbox \
|
|
||||||
sh -c 'cd /go/src/github.com/junegunn/fzf/src; /bin/bash'
|
|
||||||
|
|
||||||
centos: docker
|
|
||||||
docker run -i -t -v $(shell cd ..; pwd):/fzf junegunn/centos-sandbox \
|
|
||||||
sh -c 'cd /go/src/github.com/junegunn/fzf/src; /bin/bash'
|
|
||||||
|
|
||||||
.PHONY: build release install linux clean docker $(DISTRO)
|
.PHONY: build release install linux clean docker $(DISTRO)
|
||||||
|
Loading…
Reference in New Issue
Block a user