proper sch2pcb cleaning

This commit is contained in:
King Kévin 2014-04-02 17:04:31 +02:00
parent 49bb4caf75
commit 74432397d3
1 changed files with 5 additions and 2 deletions

View File

@ -96,8 +96,11 @@ task :sch2pcb do
sh "gsch2pcb #{target[:sch]} --elements-dir #{File.dirname(__FILE__)}/lib/footprints --skip-m4 --output-name #{target[:name]}"
end
end
CLOBBER.include("*.net")
CLOBBER.include("*.new.pcb")
targets.each do |target|
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
desc "render layout"