comment out unadapted code
This commit is contained in:
parent
7bd4a051db
commit
3bedd38825
|
@ -52,7 +52,7 @@ targets.each do |target|
|
|||
CLOBBER.include("#{target[:name]}_*.sch")
|
||||
CLOBBER.include("#{target[:name]}_*.pcb")
|
||||
end
|
||||
|
||||
=begin
|
||||
desc "print schematic and layout (as pdf)"
|
||||
task :print => ["#{target}_schematic.pdf","#{target}_layout.pdf"]
|
||||
CLEAN.include("#{target}_schematic.pdf")
|
||||
|
@ -105,6 +105,7 @@ task :reformat => GERBERS do
|
|||
end
|
||||
end
|
||||
end
|
||||
=end
|
||||
|
||||
# ================
|
||||
# helper functions
|
||||
|
@ -164,7 +165,7 @@ tagerts.each do |target|
|
|||
sh "sed -i 's/\\(revision=\\)\\$Revision\\$/\\1#{sch_rev}/' #{t.name}"
|
||||
end
|
||||
end
|
||||
|
||||
=begin
|
||||
desc "copy layout to version it: include version, date, and run teardrops when available"
|
||||
tagerts.each do |target|
|
||||
file tagert[:vpcb] => target[:pcb] do |t|
|
||||
|
@ -224,7 +225,7 @@ GERBERS.each do |gerber|
|
|||
sh "pcb -x gerber --gerberfile #{target} --all-layers #{t.prerequisites.join(' ')}"
|
||||
end
|
||||
end
|
||||
|
||||
=end
|
||||
ATTACHMENTS = ["cern_ohl_v_1_2_howto.pdf","CHANGES.txt","LICENSE.txt","PRODUCT.txt"]
|
||||
desc "create archive with release files"
|
||||
file "hardware-release_v#{version}.tar.gz" => ATTACHMENTS+["lib",vsch,vpcb,"notes.txt","#{target}_schematic.pdf","#{target}_layout.pdf","#{target}_layout-top.png","#{target}_layout-bottom.png"]+GERBERS do |t|
|
||||
|
|
Loading…
Reference in New Issue