Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/alisaifee/asdf-thrift

thrift plugin for the asdf version manager.
https://github.com/alisaifee/asdf-thrift

asdf-plugin thrift

Last synced: about 2 months ago
JSON representation

thrift plugin for the asdf version manager.

Awesome Lists containing this project

README

        

# asdf-thrift [![Build](https://github.com/alisaifee/asdf-thrift/actions/workflows/main.yml/badge.svg)](https://github.com/alisaifee/asdf-thrift/actions/workflows/main.yml)

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

# Contents

- [Dependencies](#dependencies)
- [Supported environments & versions](#supported-versions)
- [Install](#install)
- [License](#license)

# Dependencies

- `automake`, `bison` (>=2.5), `libtool` (>=1.5.24)

Please refer to [the official installation documentation](https://thrift.apache.org/docs/install/#requirements-for-building-from-source) for details.

## macOS
The default versions of `bison` and `libtool` on macOS are not sufficient compile thrift against.
Please install using [homebrew](https://brew.sh/):
```sh
brew install bison
brew install libtool
```

## Version specific dependencies

Thrift version `0.12.0` explicitely requires boost to build.

### macOS
```
brew install boost
```

### Debian
```
apt install libboost-all-dev
```

# Supported versions
The plugin is tested against recent version of macOS & Ubuntu
(refer to [CI Matrix](https://github.com/alisaifee/asdf-thrift/actions/workflows/main.yml))
and builds a few known versions + the latest release tag.

# Install

Plugin:

```shell
asdf plugin add thrift
# or
asdf plugin add thrift https://github.com/alisaifee/asdf-thrift.git
```

thrift:

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

# Install specific version
asdf install thrift latest

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

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

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

# License

See [LICENSE](LICENSE) © [Ali-Akber Saifee](https://github.com/alisaifee/)