Rakefile: change attributes to be exported
This commit is contained in:
parent
be6f5dc5e7
commit
118f6abebf
2
Rakefile
2
Rakefile
|
@ -132,7 +132,7 @@ end
|
||||||
|
|
||||||
desc "generate BOM file from schematic"
|
desc "generate BOM file from schematic"
|
||||||
rule ".bom.csv" => ".sch" do |t|
|
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)
|
bom_data = bom2(t.prerequisites[0],attributes)
|
||||||
CSV.open(t.name, "wb") do |csv|
|
CSV.open(t.name, "wb") do |csv|
|
||||||
all_attributes = ["refdes","qty"]+attributes
|
all_attributes = ["refdes","qty"]+attributes
|
||||||
|
|
Loading…
Reference in New Issue