KiBot/tests/yaml_samples/int_bom_var_t2_csv.kibot.yaml

43 lines
822 B
YAML

# Example KiBot config file
kibot:
version: 1
filters:
- name: 'Variant rename'
type: var_rename
separator: ':'
variants:
- name: 'production'
comment: 'Production variant'
type: kibom
file_id: '_(production)'
variant: production
- name: 'test'
comment: 'Test variant'
type: kibom
file_id: '_(test)'
variant: test
pre_transform: 'Variant rename'
outputs:
- name: 'bom_internal'
comment: "Bill of Materials in CSV format"
type: bom
dir: BoM
- name: 'bom_internal_production'
comment: "Bill of Materials in CSV format for production"
type: bom
dir: BoM
options:
variant: production
- name: 'bom_internal_test'
comment: "Bill of Materials in CSV format for test"
type: bom
dir: BoM
options:
variant: test