This directory contains the Homebrew formula for the Surreal programming language.
This directory should be published as a separate repository: surreal-lang/homebrew-surreal
brew tap surreal-lang/surreal
brew install surrealAfter a new release:
- Update the version in
Formula/surreal.rb - Calculate SHA256 checksums for each platform:
shasum -a 256 surreal-aarch64-apple-darwin.tar.gz shasum -a 256 surreal-x86_64-apple-darwin.tar.gz shasum -a 256 surreal-aarch64-unknown-linux-gnu.tar.gz shasum -a 256 surreal-x86_64-unknown-linux-gnu.tar.gz
- Update the
sha256values in the formula - Commit and push
Consider using homebrew-releaser or a GitHub Action to automatically update the formula when new releases are created.