summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2025-09-24make lint: Perform bash script lintingJunegunn Choi
2025-09-24feat: add make fmt for *.sh *.bashxieyonn
1. add .editorconfig file, add rules for .sh .bash files. 2. add make fmt target, use: - gofmt *.go. - shfmt *.sh *.bash, shell/completion.bash, shell/key-bindings.bash need a left indent due to an outermost if block. 3. add shfmt check for bash scripts in make lint target. 4. install shfmt in actions.
2025-01-25Split integration test file (#4205)Junegunn Choi
2025-01-03Replace bash to sh in Makefile (#4138)Minseo Kim
Some operating systems do not ship with bash by default, e.g. BSDs, which breaks the build.
2024-08-29Test cases for non-default --scheme optionsJunegunn Choi
2024-07-080.54.0Junegunn Choi
New tags will have `v` prefix. * https://github.com/junegunn/fzf/issues/2879 * https://github.com/golang/go/issues/32945 Close #2879
2024-05-21Embed man page in the binary and show it on 'fzf --man'Junegunn Choi
2024-05-07Refactor the code so that fzf can be used as a library (#3769)Junegunn Choi
2024-05-02Fix unreliable GOOS detection (#3763)cyqsimon
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-04-24Update Dockerfile to use Ubuntu 24.04Junegunn Choi
As we require Go 1.20 or above.
2024-04-23Add -trimpath to build commandJunegunn Choi
2024-04-13Enable profiling options when 'pprof' tag is set (#2813)Charlie Vieth
This commit enables cpu, mem, block, and mutex profling of the FZF executable. To support flushing the profiles at program exit it adds util.AtExit to register "at exit" functions and mandates that util.Exit is used instead of os.Exit to stop the program. Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-03-17Update Makefile target dependenciesJunegunn Choi
Because shell integration scripts are now embedded in the binary
2024-01-20Update goreleaser flagsJunegunn Choi
2023-12-26Add 'transform' action to conditionally perform a series of actionsJunegunn Choi
'transform' action runs an external command that prints a series of actions to perform. # Disallow selecting an empty line echo -e "1. Hello\n2. Goodbye\n\n3. Exit" | fzf --reverse --header 'Select one' \ --bind 'enter:transform:[[ -n {} ]] && echo accept || echo "change-header:Invalid selection"' # Move cursor past the empty line echo -e "1. Hello\n2. Goodbye\n\n3. Exit" | fzf --reverse --header 'Select one' \ --bind 'enter:transform:[[ -n {} ]] && echo accept || echo "change-header:Invalid selection"' \ --bind 'focus:transform:[[ -n {} ]] && exit; [[ {fzf:action} =~ up$ ]] && echo up || echo down' Close #3368 Close #2980
2023-11-120.44.0Junegunn Choi
2023-09-11Makefile: build 32-bit binary on armv8l (#3434)Sam James
armv8l is always 32-bit and should implement the armv7 ISA, so just use the same filename as for armv7. This avoids wrongly building a 64-bit binary because of an incorrect assumption of what 'armv8l' is (a 32-bit system). Obviously, we should not then build a 64-bit (arm64) binary. Especially given armv8l is often used in arm32-on-arm64 chroots to build stuff for weaker-powered arm32 devices. Signed-off-by: Sam James <sam@gentoo.org>
2023-05-21Skip post hooks on 'make build'Junegunn Choi
https://github.com/goreleaser/goreleaser/issues/1469
2023-04-020.39.0Junegunn Choi
2023-02-22Add support for s390x architectureJulian Ruess
Signed-off-by: Julian Ruess <julianr@linux.ibm.com>
2022-09-28Implement height range (--height ~[VALUE][%])Junegunn Choi
Close #2953
2022-06-28[make] Add loongarch64 support (#2857)znley
2021-11-040.28.0Junegunn Choi
2021-10-10Add riscv64 build target (#2626)Xeonacid
Build successfully on Arch Linux RISC-V.
2021-03-11Speed up ANSI code processing (#2368)Charlie Vieth
This commit speeds up the parsing/processing of ANSI escape codes by roughly 7.5x. The speedup is mostly accomplished by replacing the regex with dedicated parsing logic (nextAnsiEscapeSequence()) and reducing the number of allocations in extractColor(). #### Benchmarks ``` name old time/op new time/op delta ExtractColor-16 4.89µs ± 5% 0.64µs ± 2% -86.87% (p=0.000 n=9+9) name old speed new speed delta ExtractColor-16 25.6MB/s ± 5% 194.6MB/s ± 2% +661.43% (p=0.000 n=9+9) name old alloc/op new alloc/op delta ExtractColor-16 1.37kB ± 0% 0.31kB ± 0% -77.31% (p=0.000 n=10+10) name old allocs/op new allocs/op delta ExtractColor-16 48.0 ± 0% 4.0 ± 0% -91.67% (p=0.000 n=10+10) ```
2021-02-28Check gofmt in `make test`Junegunn Choi
2021-01-20[Makefile] Restore 32-bit targetsJunegunn Choi
Close #2328
2020-12-31[Makefile] Make sure to use bashJunegunn Choi
2020-12-23[Makefile] Support building on machines with `uname -m` == "arm64" (#2291)Loic Nageleisen
2020-10-28Make build flags consistentJunegunn Choi
2020-10-28Make Makefile fail when git information is not availableJunegunn Choi
2020-10-270.24.0Junegunn Choi
2020-10-270.24.0-rc1Junegunn Choi
2020-10-070.23.0Junegunn Choi
2020-04-21Quote LDFLAGS (#1995)Raffaele
Make sure that `extldflags` is quoted so that LDFLAGS containing spaces won't break the build command. Close #1994
2019-10-11Support building on machines with `uname -m` == "aarch64" (#1710)stiletto
2018-12-13Remove trailing spaces in MakefileJunegunn Choi
2018-12-13Use go modules and simplify build (#1444)Stefan Tatschner
* Update .travis.yml and use stages This updates the .travis.yml configuration to use separate stages for unittests and CLI tests. The output is now clearer, since for unittests and CLI tests separate web pages are available. * Use go modules and simplify build
2018-07-16Update Makefile to build ppc64le binary (#1326)Younes Manton
* Add ppc64le support to Makefile * Update crypt libs to fix tty ioctls on ppc64le The hardcoded tty ioctl commands in the terminal package were not correct for ppc64le and caused the ioctls to return ENOTTY for commands like TCGETS and so on. The bug is fixed in later versions.
2018-06-27Update Makefile to support armv8l (#1321)做梦专业户
2018-06-01Add Dockerfile for running testsJunegunn Choi
make docker make docker-test
2018-04-12Parse the output of `go version` to get the value of GOOS (#1260)Akinori MUSHA
2017-06-02Fix Makefile and install script for the new project layoutJunegunn Choi
2017-06-02Add git revision to --version outputJunegunn Choi
2017-06-02Restructuring: main package in project rootJunegunn Choi