github aquaproj/aqua v0.8.1

latest releases: v2.33.0, v2.32.0, v2.31.0...
2 years ago

Milestone
v0.8.0...v0.8.1

Feature

#438 #439 Support skipping to install packages on unsupported platform

⚠️ This is the configuration in not aqua.yaml but registry.yaml.

Registry Configuration - supported_if

Add the field supported_if to the Registry Configuration.

supported_if is expr's expression.
The evaluation result must be a boolean.

If the evaluation result is false, aqua skips installing the package and outputs the debug log.
If supported_if isn't set, the package is always installed.

The following values and functions are accessible in the expression.

For example, if the following configuration indicates the package doesn't support macOS.

supported_if: GOOS != "darwin"

Don't miss a new aqua release

NewReleases is sending notifications on new releases.