fzf-make-0.7.0 is not a library.
fzf-make is the command line tool that execute make target using fzf.

🛠️ Features
- Select and execute a make target using fzf
- Support
includedirective - (Scheduled to be developed) Support config file
- (Scheduled to be developed) Command history
👓 Prerequisites
- bat (In the future, we intend to make it work with
catas well, but currently it only works withbat.)
📦 Installation
macOS
Homebrew
You don't need to install bat because fzf-make will install it automatically via Homebrew.
# install
# update
Arch Linux
fzf-make can be installed from the AUR using an AUR helper. For example:
NixOS / Nix (package manager)
fzf-make can be run from the repository (latest version)
Or from the nixpkgs (channel >= 23.05)
Note You may need to enable experimental feature. In that case, execute the following command to enable them
echo "experimental-features = nix-command flakes" | tee ~/.config/nix/nix.conf
OS-independent method
Cargo
💡 Usage
- Execute
fzf-makein the directory include makefile(file name should be one ofGNUmakefile,makefile,Makefile) - Select make command you want to execute
💻 Development
- Clone this repository
- Change the codes
- Run
make run
To execute test, run make test(needs nextest). Or just run cargo test.
nix
Or you can use nix to create a developement shell with the project dependencies.
Within the repo root, execute the following command:
nix develop
👥 Contribution
- Contributions are welcome!
- If you have a Feature request, please create an issue first.
- If you have added fzf-make to some package manager, please let me know. (or please send a PR to add how to install via the package manager in the
README.md) - If you have any questions, feel free to create an issue and ask.