Update Makefile and install script

fzf may not run correctly on some OS even when the binary the platform
is successfully downloaded. The install script is updated to check if
the system has no problem running the executable and fall back to Ruby
version when necessary.
This commit is contained in:
Junegunn Choi committed 2015-01-05 12:21:26 +09:00
1 parent 4a5142c60b
commit 82156d34cc
2 files changed
+34 -22

No files matched your search

+2 -2
View File
@@ -44,8 +44,8 @@ clean:
docker:
docker build -t junegunn/ubuntu-sandbox .
linux64:
linux64: docker
docker run -i -t -u jg -v $(shell cd ..; pwd):/fzf junegunn/ubuntu-sandbox \
/bin/bash -ci 'cd ~jg/go/src/github.com/junegunn/fzf/src; make'
.PHONY: build release install linux64 clean docker run
.PHONY: build release install linux64 clean docker