Rakefile: change attributes to be exported

This commit is contained in:
King Kévin 2021-11-02 15:28:32 +01:00
parent be6f5dc5e7
commit 118f6abebf
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ end
desc "generate BOM file from schematic"
rule ".bom.csv" => ".sch" do |t|
attributes = ["device", "value", "description", "footprint", "manufacturer", "mpn", "datasheet", "lcsc-sku", "digikey-sku", "aliexpress-sku"]
attributes = ["device", "value", "description", "footprint", "manufacturer", "mpn", "datasheet", "lcsc", "digikey"]
bom_data = bom2(t.prerequisites[0],attributes)
CSV.open(t.name, "wb") do |csv|
all_attributes = ["refdes","qty"]+attributes