add release support for multiple targets

This commit is contained in:
King Kévin 2014-03-26 13:04:14 +01:00
parent 253e5cd56c
commit 253d504447
1 changed files with 2 additions and 4 deletions

View File

@ -240,10 +240,8 @@ targets.each do |target|
end
end
=begin
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|
ATTACHMENTS = ["cern_ohl_v_1_2_howto.pdf","CHANGES.txt","LICENSE.txt","PRODUCT.txt"]
file release => prints+notes+photos+gerbers+ATTACHMENTS do |t|
sh "tar -acf '#{t.name}' #{t.prerequisites.join(' ')}"
end
=end