An open API service indexing awesome lists of open source software.

https://github.com/virtualroot/asdf-bfs

An asdf plugin for bfs, the breadth-first UNIX find variant
https://github.com/virtualroot/asdf-bfs

asdf-plugin bfs breadth-first-search command-line directory-tree find linux macos

Last synced: about 1 month ago
JSON representation

An asdf plugin for bfs, the breadth-first UNIX find variant

Awesome Lists containing this project

README

          

# asdf-bfs [![Build](https://github.com/virtualroot/asdf-bfs/actions/workflows/build.yml/badge.svg)](https://github.com/virtualroot/asdf-bfs/actions/workflows/build.yml) [![Lint](https://github.com/virtualroot/asdf-bfs/actions/workflows/lint.yml/badge.svg)](https://github.com/virtualroot/asdf-bfs/actions/workflows/lint.yml)

[bfs](https://github.com/tavianator/bfs) plugin for the [asdf version manager](https://asdf-vm.com).

# Contents

- [Dependencies](#dependencies)
- [Install](#install)
- [Contributing](#contributing)
- [License](#license)

# Dependencies

- C compiler, GNU make, `bash`, `curl`, `tar`: generic POSIX utilities.
- `acl`, `attr`, `libcap`, `oniguruma` libs.

# Install

Dependencies:

To build bfs from source, you need to install some [dependencies](https://github.com/tavianator/bfs/blob/main/README.md#installation).


Alpine Linux
# apk add acl{,-dev} attr{,-dev} libcap{,-dev} oniguruma-dev

Arch Linux
# pacman -S acl attr libcap oniguruma

Debian/Ubuntu
# apt install acl libacl1-dev attr libattr1-dev libcap2-bin libcap-dev libonig-dev

Fedora
# dnf install acl libacl-devel libattr-devel libcap-devel oniguruma-devel

NixOS
# nix-env -i acl attr libcap oniguruma

Void Linux
# xbps-install -S acl-{devel,progs} attr-{devel,progs} libcap-{devel,progs} oniguruma-devel

MacPorts
# port install oniguruma6

Homebrew
$ brew install oniguruma

Plugin:

```shell
asdf plugin add bfs
# or
asdf plugin add bfs https://github.com/virtualroot/asdf-bfs.git
```

bfs:

```shell
# Show all installable versions
asdf list-all bfs

# Install specific version
asdf install bfs latest

# Set a version globally (on your ~/.tool-versions file)
asdf global bfs latest

# Now bfs commands are available
bfs --version
```

Check [asdf](https://github.com/asdf-vm/asdf) readme for more instructions on how to
install & manage versions.

# Contributing

Contributions of any kind welcome! See the [contributing guide](contributing.md).

[Thanks goes to these contributors](https://github.com/virtualroot/asdf-bfs/graphs/contributors)!

# License

See [LICENSE](LICENSE) © [Alejandro Lazaro](https://github.com/virtualroot/)