Repository configuration file
Much like .circleci/config.yml for CircleCI or .github/workflows/main.yml for GitHub Actions, the repository configuration file defines how your repo is built and configured.
Repository-level settings are read from a config file so you can set defaults for all artifacts in the repo without repeating them on every @artifact decorator.
In the future, we will add more settings to the configuration file, such as the custom build environment and flow.
Location
The configuration file is located at .makerrepo/config.yaml in the root of your repository.
Schema
The config file is YAML. Top-level structure:
| Key | Type | Description |
|---|---|---|
artifacts |
object | Optional. Artifacts-related defaults. |
artifacts.default_config
Defaults used when the @artifact decorator omits export_step or export_3mf. See Artifacts for how these are used per artifact.
| Key | Type | Default | Description |
|---|---|---|---|
export_step |
boolean | true |
Default value for exporting the artifact as a STEP file when not set on the decorator. |
export_3mf |
boolean | true |
Default value for exporting the artifact as a 3MF file when not set on the decorator. |
Example
Omitting artifacts or default_config uses the library defaults (both export_step and export_3mf are true). You only need to create .makerrepo/config.yaml if you want to change these defaults or add more options in the future.