proper sch2pcb cleaning
This commit is contained in:
parent
49bb4caf75
commit
74432397d3
|
@ -96,8 +96,11 @@ task :sch2pcb do
|
||||||
sh "gsch2pcb #{target[:sch]} --elements-dir #{File.dirname(__FILE__)}/lib/footprints --skip-m4 --output-name #{target[:name]}"
|
sh "gsch2pcb #{target[:sch]} --elements-dir #{File.dirname(__FILE__)}/lib/footprints --skip-m4 --output-name #{target[:name]}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
CLOBBER.include("*.net")
|
targets.each do |target|
|
||||||
CLOBBER.include("*.new.pcb")
|
CLOBBER.include("#{target[:name]}.net")
|
||||||
|
CLOBBER.include("#{target[:name]}.cmd")
|
||||||
|
CLOBBER.include("#{target[:name]}.new.pcb")
|
||||||
|
end
|
||||||
|
|
||||||
photos = targets.collect{|target| ["#{target[:name]}_layout-top.png","#{target[:name]}_layout-bottom.png"]}.flatten
|
photos = targets.collect{|target| ["#{target[:name]}_layout-top.png","#{target[:name]}_layout-bottom.png"]}.flatten
|
||||||
desc "render layout"
|
desc "render layout"
|
||||||
|
|
Loading…
Reference in New Issue