prebuilt-amiga-dev-tools / vasmm68k-build

vasmm68k pre-built for Windows, Linux and MacOS
Other
2 stars 1 forks source link

Investigate MacOS build #59

Closed Kalmalyzer closed 4 years ago

Kalmalyzer commented 4 years ago

Homebrew looks like the prime option.

It is possible to register repositories that act as "taps". A tap is a collection of formulas. A formula is an installation script. We could have one tap for all of prebuilt-amiga-dev-tools, similarly to the apt repository.

Homebrew always builds from source first, and optionally supports distributing pre-built binaries. We should first focus on building from source.

Here is a viable structure:

Kalmalyzer commented 4 years ago

micro's formula is a good example of a simple formula that builds an application from source, installs, and runs a minimal test. It also has prebuilt casks (binaries) for a few macos variants.

Kalmalyzer commented 4 years ago

Let's wait with source snapshots. The formula will fetch directly from phx' server (i.e. VASM_URL) for the time being.

Kalmalyzer commented 4 years ago

The tap (either official or custom) should contain the formula. The tap should not contain anything but the formula. Any other inputs - source snapshots, diffs, makefiles etc - should be stored elsewhere.

An automated release mechanism should update to the latest version of the tap, create a feature branch, update the formula in a single commit, and submit a PR. The tap repo (either official or custom) should then accept the PR, either via maintainer validation, or via automation.

Kalmalyzer commented 4 years ago

MacOS build is more-or-less functional. Need to take care of some further issues (#78 for example) before it is ready for action. Closing this for now.