github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/examples/package-flavors/README.md (about)

     1  import ExampleYAML from "@site/src/components/ExampleYAML";
     2  
     3  # Package Flavors
     4  
     5  This example demonstrates how to define variants of packages within the same package definition.  This can be combined with [Composable Packages](../composable-packages/README.md) to build up packages and include the necessary [merge overrides](../composable-packages/README.md#merge-strategies) for each variant.
     6  
     7  Given package flavors are built by specifying the `--flavor` flag on `jackal package create`.  This will include any components that match that flavor or that do not specify a flavor.
     8  
     9  ## `jackal.yaml` {#jackal.yaml}
    10  
    11  :::info
    12  
    13  To view the example in its entirety, select the `Edit this page` link below the article and select the parent folder.
    14  
    15  :::
    16  
    17  <ExampleYAML src={require('./jackal.yaml')} showLink={false} />