@@ -338,45 +338,57 @@ namespace :test do
338338 end
339339end
340340
341- namespace :gen do
342- desc <<~DESC
343- Generate all certificates and profile PDFs.
344- DESC
345- task :cert_profile_pdfs do
346- puts "==================================="
347- puts "cert_profile_pdfs: Generating MC100"
348- puts " 1st target"
349- puts "==================================="
350- Rake ::Task [ "#{ $root} /gen/certificate_doc/pdf/MC100.pdf" ] . invoke
351-
352- puts "=================================================="
353- puts "cert_profile_pdfs: Generating MockCertificateModel"
354- puts " 2nd target"
355- puts "=================================================="
356- Rake ::Task [ "#{ $root} /gen/certificate_doc/pdf/MockCertificateModel.pdf" ] . invoke
357-
358- puts "==================================="
359- puts "cert_profile_pdfs: Generating RVA20"
360- puts " 3rd target"
361- puts "==================================="
362- Rake ::Task [ "#{ $root} /gen/profile_doc/pdf/RVA20.pdf" ] . invoke
363-
364- puts "==================================="
365- puts "cert_profile_pdfs: Generating RVA22"
366- puts " 4th target"
367- puts "==================================="
368- Rake ::Task [ "#{ $root} /gen/profile_doc/pdf/RVA22.pdf" ] . invoke
369-
370- puts "==================================="
371- puts "cert_profile_pdfs: Generating RVI20"
372- puts " 5th target"
373- puts "==================================="
374- Rake ::Task [ "#{ $root} /gen/profile_doc/pdf/RVI20.pdf" ] . invoke
375-
376- puts "==================================="
377- puts "cert_profile_pdfs: Generating MockProfileRelease"
378- puts " 6th target"
379- puts "==================================="
380- Rake ::Task [ "#{ $root} /gen/profile_doc/pdf/MockProfileRelease.pdf" ] . invoke
381- end
341+ desc <<~DESC
342+ Generate all portfolio-based PDFs (certificates and profiles).
343+ DESC
344+ task :portfolio_pdfs do
345+ puts ""
346+ puts "==================================="
347+ puts "Generating MC100"
348+ puts "==================================="
349+ puts ""
350+ Rake ::Task [ "#{ $root} /gen/certificate_doc/pdf/MC100.pdf" ] . invoke
351+
352+ puts ""
353+ puts "=================================================="
354+ puts "Generating MockCertificateModel"
355+ puts "=================================================="
356+ puts ""
357+ Rake ::Task [ "#{ $root} /gen/certificate_doc/pdf/MockCertificateModel.pdf" ] . invoke
358+
359+ puts ""
360+ puts "==================================="
361+ puts "Generating RVA20"
362+ puts "==================================="
363+ puts ""
364+ Rake ::Task [ "#{ $root} /gen/profile_doc/pdf/RVA20.pdf" ] . invoke
365+
366+ puts ""
367+ puts "==================================="
368+ puts "Generating RVA22"
369+ puts "==================================="
370+ puts ""
371+ Rake ::Task [ "#{ $root} /gen/profile_doc/pdf/RVA22.pdf" ] . invoke
372+
373+ puts ""
374+ puts "==================================="
375+ puts "Generating RVI20"
376+ puts "==================================="
377+ puts ""
378+ Rake ::Task [ "#{ $root} /gen/profile_doc/pdf/RVI20.pdf" ] . invoke
379+
380+ puts ""
381+ puts "==================================="
382+ puts "Generating MockProfileRelease"
383+ puts "==================================="
384+ puts ""
385+ Rake ::Task [ "#{ $root} /gen/profile_doc/pdf/MockProfileRelease.pdf" ] . invoke
382386end
387+
388+ # Shortcut targets for building profiles and certificates.
389+ task MC100 : "#{ $root} /gen/certificate_doc/pdf/MC100.pdf"
390+ task MockCertificateModel : "#{ $root} /gen/certificate_doc/pdf/MockCertificateModel.pdf"
391+ task RVI20 : "#{ $root} /gen/profile_doc/pdf/RVI20.pdf"
392+ task RVA20 : "#{ $root} /gen/profile_doc/pdf/RVA20.pdf"
393+ task RVA22 : "#{ $root} /gen/profile_doc/pdf/RVA22.pdf"
394+ task MockProfileRelease : "#{ $root} /gen/profile_doc/pdf/MockProfileRelease.pdf"
0 commit comments