Bottling Macaulay2 for Homebrew
Homebrew is a package manager for macOS and Linux. The Dockerfile
in this directory creates a container image based on Ubuntu 20.04 for building and testing the Homebrew formula for Macaulay2 available at Macaulay2/tap
.
-
Install Docker and start the daemon (optionally, also install Homebrew).
-
Build the container using Docker:
make build
- Enter the shell:
make shell-linux # if you are using Linuxbrew
make shell-macos # if you are using Homebrew
- Bottle Macaulay2:
brew install --keep-tmp --verbose --build-bottle Macaulay2/tap/M2