mirror of
https://github.com/junegunn/fzf
synced 2024-11-01 03:20:42 +00:00
686528d627
src/options.go:463:9: undefined: strings.ReplaceAll note: module requires Go 1.13make: *** [Makefile:122: target/fzf-linux_amd64] Erro 2
1.2 KiB
1.2 KiB
Building fzf
Build instructions
Prerequisites
- Go 1.13 or above
Using Makefile
# Build fzf binary for your platform in target
make
# Build fzf binary and copy it to bin directory
make install
# Build fzf binaries and archives for all platforms using goreleaser
make build
# Publish GitHub release
make release
⚠️ Makefile uses git commands to determine the version and the revision information for
fzf --version
. So if you're building fzf from an environment where its git information is not available, you have to manually set$FZF_VERSION
and$FZF_REVISION
.e.g.
FZF_VERSION=0.24.0 FZF_REVISION=tarball make
Third-party libraries used
- mattn/go-runewidth
- Licensed under MIT
- mattn/go-shellwords
- Licensed under MIT
- mattn/go-isatty
- Licensed under MIT
- tcell
- Licensed under Apache License 2.0