Skip to content
Myr

Merge branch 'glide' of https://github.com/hinshun/fzf into hinshun-glide

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 · parents 2e3dc75, 7d3575b · Browse files · 10 files+64 added−39 removed
This commit

State

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

Diff stats

10 files+64 added−39 removed

  • other:+64 added−39 removed

10 files+64 added−39 removed

modified:src/tui/tcell.go+3 added-4 removed
6 unmodified lines
7 "unicode/utf8"89 "runtime"1011 // https://github.com/gdamore/tcell/pull/13512 "github.com/junegunn/tcell"13 "github.com/junegunn/tcell/encoding"11 "github.com/gdamore/tcell"12 "github.com/gdamore/tcell/encoding"1315 "github.com/junegunn/go-runewidth"14 "github.com/mattn/go-runewidth"15)1617func HasFullscreenRenderer() bool {18 return true
556 unmodified lines
modified:src/util/util_windows.go+1 added-1 removed
5 unmodified lines
6 "os"7 "os/exec"8 "syscall"910 "github.com/junegunn/go-shellwords"10 "github.com/mattn/go-shellwords"11)1213// ExecCommand executes the given command with $SHELL14func ExecCommand(command string) *exec.Cmd {
25 unmodified lines
modified:src/util/util.go+2 added-2 removed
3 unmodified lines
4 "math"5 "os"6 "time"78 "github.com/junegunn/go-isatty"9 "github.com/junegunn/go-runewidth"8 "github.com/mattn/go-isatty"9 "github.com/mattn/go-runewidth"10)1112var _runeWidths = make(map[rune]int)13
100 unmodified lines
deleted:src/deps-18 removed
1#!/usr/bin/env bash23if [ -z "$GOPATH" ]; then4 echo '$GOPATH not defined'5 exit 16fi78reset() (9 cd "$GOPATH/src/$1"10 export GIT_DIR="$(pwd)/.git"11 [ "$(git rev-parse HEAD)" = "$2" ] ||12 (git fetch && git reset --hard "$2")13)1415reset github.com/junegunn/go-isatty 66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb816reset github.com/junegunn/go-runewidth 14207d285c6c197daabb5c9793d63e7af9ab2d5017reset github.com/junegunn/go-shellwords 02e3cf038dcea8290e44424da473dd12be796a8a18reset golang.org/x/crypto abc5fa7ad02123a41f02bf1391c9760f7586e608
modified:src/Makefile+2 added-10 removed
10 unmodified lines
1112SOURCES := $(wildcard *.go */*.go)13ROOTDIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))14BINDIR := $(shell dirname $(ROOTDIR))/bin15GOPATH := $(shell dirname $(ROOTDIR))/gopath16SRCDIR := $(GOPATH)/src/github.com/junegunn/fzf/src15BINARY32 := fzf-$(GOOS)_38616BINARY64 := fzf-$(GOOS)_amd6417BINARYARM5 := fzf-$(GOOS)_arm518BINARYARM6 := fzf-$(GOOS)_arm6
5 unmodified lines
24RELEASEARM5 := fzf-$(VERSION)-$(GOOS)_arm525RELEASEARM6 := fzf-$(VERSION)-$(GOOS)_arm626RELEASEARM7 := fzf-$(VERSION)-$(GOOS)_arm727RELEASEARM8 := fzf-$(VERSION)-$(GOOS)_arm830export GOPATH2829# https://en.wikipedia.org/wiki/Uname30UNAME_M := $(shell uname -m)31ifeq ($(UNAME_M),x86_64)
43 unmodified lines
75 GOOS=freebsd make release76 GOOS=openbsd make release77 GOOS=windows make release7882$(SRCDIR):83 mkdir -p $(shell dirname $(SRCDIR))84 ln -s $(ROOTDIR) $(SRCDIR)79deps: $(SOURCES)80 cd .. && go get -u github.com/Masterminds/glide && $(GOPATH)/bin/glide install8186deps: $(SRCDIR) $(SOURCES)87 cd $(SRCDIR) && go get -tags "$(TAGS)"88 ./deps8982test: deps83 SHELL=/bin/sh GOOS= go test -v -tags "$(TAGS)" ./...8485install: $(BINDIR)/fzf
34 unmodified lines
modified:src/options.go+1 added-1 removed
10 unmodified lines
11 "github.com/junegunn/fzf/src/algo"12 "github.com/junegunn/fzf/src/tui"13 "github.com/junegunn/fzf/src/util"1415 "github.com/junegunn/go-shellwords"15 "github.com/mattn/go-shellwords"16)1718const usage = `usage: fzf [options]19
1230 unmodified lines
modified:.gitignore+1 added-1 removed
1bin2src/fzf/fzf-*3gopath3pkg4Gemfile.lock5.DS_Store6doc/tags7vendor
modified:BUILD.md-2 removed
added:glide.lock+38 added
1hash: d68dd0bd779ac4ffca1e0c49ca38d85f90d5d68fa8e2d5d7db70a8ce8c662ec12updated: 2017-06-01T15:48:41.653745249-07:003imports:4- name: github.com/gdamore/encoding5 version: b23993cbb6353f0e6aa98d0ee318a34728f628b96- name: github.com/gdamore/tcell7 version: 44772c121bb7838819d3ba4a7e84c0c2d617328e8 subpackages:9 - encoding10- name: github.com/lucasb-eyer/go-colorful11 version: c900de9dbbc73129068f5af6a823068fc5f2308c12- name: github.com/mattn/go-isatty13 version: 66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb814- name: github.com/mattn/go-runewidth15 version: 14207d285c6c197daabb5c9793d63e7af9ab2d5016- name: github.com/mattn/go-shellwords17 version: 02e3cf038dcea8290e44424da473dd12be796a8a18- name: golang.org/x/crypto19 version: e1a4589e7d3ea14a3352255d04b6f1a418845e5e20 subpackages:21 - ssh/terminal22- name: golang.org/x/sys23 version: b90f89a1e7a9c1f6b918820b3daa7f08488c859424 subpackages:25 - unix26- name: golang.org/x/text27 version: 4ee4af566555f5fbe026368b75596286a312663a28 subpackages:29 - encoding30 - encoding/charmap31 - encoding/internal32 - encoding/internal/identifier33 - encoding/japanese34 - encoding/korean35 - encoding/simplifiedchinese36 - encoding/traditionalchinese37 - transform38testImports: []
added:glide.yaml+16 added
1package: github.com/junegunn/fzf2import:3- package: github.com/mattn/go-isatty4 version: 66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb85- package: github.com/mattn/go-runewidth6 version: 14207d285c6c197daabb5c9793d63e7af9ab2d507- package: github.com/mattn/go-shellwords8 version: 02e3cf038dcea8290e44424da473dd12be796a8a9- package: github.com/gdamore/tcell10 version: 44772c121bb7838819d3ba4a7e84c0c2d617328e11 subpackages:12 - encoding13- package: golang.org/x/crypto14 version: e1a4589e7d3ea14a3352255d04b6f1a418845e5e15 subpackages:16 - ssh/terminal