Skip to content

Latest commit

 

History

History
66 lines (41 loc) · 1.95 KB

README.md

File metadata and controls

66 lines (41 loc) · 1.95 KB

asdf-flatc Build Lint

Flatbuffers flatc plugin for the asdf version manager.

Contents

About

This is an asdf plugin for the Flatbuffers compiler by Google.

On Intel & ARM Mac systems, as well as Linux, this plugin will attempt to install the precompiled binaries from Flatbuffers' GitHub releases. If this fails, it will build the compiler from source.

Unlike most asdf plugins, this particular plugin downloads zip archives from GitHub (not tarballs), and so unzip is required.

Dependencies

  • bash, curl, unzip: generic POSIX utilities.
  • cmake, make: used to build from source on unsupported systems

Install

Plugin:

asdf plugin add flatc
# or
asdf plugin add flatc https://github.com/TheOpenDictionary/asdf-flatc.git

flatc:

# Show all installable versions
asdf list-all flatc

# Install specific version
asdf install flatc latest

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

# Now flatc commands are available
flatc --version

Check asdf readme for more instructions on how to install & manage versions.

Contributing

Contributions of any kind welcome! See the contributing guide.

Thanks goes to these contributors!

License

See LICENSE © Tyler Nickerson