From 3304f284a565bc77d8a1009d8e1770e651b95c5c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 28 Oct 2020 10:51:32 +0900 Subject: Panic when fzf was built without version information So that the package maintainers would immediately know that the build is incorrect. But is there a way to make build simply fail? Related: https://github.com/junegunn/fzf.vim/issues/1150 --- BUILD.md | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'BUILD.md') diff --git a/BUILD.md b/BUILD.md index f6a4f264..dba8b22f 100644 --- a/BUILD.md +++ b/BUILD.md @@ -17,20 +17,11 @@ make # Build fzf binary and copy it to bin directory make install -# Build 32-bit and 64-bit executables and tarballs in target -make release - -# Make release archives for all supported platforms in target -make release-all -``` - -### Using `go get` +# Build fzf binaries and archives for all platforms using goreleaser +make build -Alternatively, you can build fzf directly with `go get` command without -manually cloning the repository. - -```sh -go get -u github.com/junegunn/fzf +# Publish GitHub release +make release ``` Third-party libraries used -- cgit v1.2.3