File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ jobs:
28
28
29
29
- name : LaTeX compile
30
30
run : |
31
- ./render --master-tex Snakemake_HPC_Users.tex --configfile config/config_for_github.yaml --handout --sample-directory=. ;
32
- ./render --master-tex Snakemake_HPC_Creators.tex --configfile config/config_for_github.yaml --handout --sample-directory=. ;
33
- ./render --master-tex Snakemake_HPC_User_Creator_Combi.tex --configfile config/config_for_github.yaml --handout --sample-directory=. ;
34
- ./render --master-tex Snakemake_HPC_Admins.tex --configfile config/config_for_github.yaml --handout --sample-directory=. ;
31
+ ./render --master-tex Snakemake_HPC_Users.tex --configfile config/config_for_github.yaml --handout --sample-directory=_ ;
32
+ ./render --master-tex Snakemake_HPC_Creators.tex --configfile config/config_for_github.yaml --handout --sample-directory=_ ;
33
+ ./render --master-tex Snakemake_HPC_User_Creator_Combi.tex --configfile config/config_for_github.yaml --handout --sample_directory=_ ;
34
+ ./render --master-tex Snakemake_HPC_Admins.tex --configfile config/config_for_github.yaml --handout --sample-directory=_ ;
35
35
36
36
- name : Certificate compile
37
37
run : |
Original file line number Diff line number Diff line change @@ -236,15 +236,9 @@ if __name__ == "__main__":
236
236
"--sample-directory" ,
237
237
help = "needed with `--handout` - should indicate directory with script files (cloze and solution)" ,
238
238
)
239
- parser .add_argument (
240
- "--no-packaging" ,
241
- help = "needed for the CI, which should not attempt to package slides" ,
242
- default = False ,
243
- action = argparse .BooleanOptionalAction ,
244
- )
245
239
args = parser .parse_args ()
246
240
247
- if args .handout and ( not args .sample_directory or not args . no_packaging ) :
241
+ if args .handout and not args .sample_directory :
248
242
print (
249
243
"ERROR: must indicate --sample-directory when writing handouts" ,
250
244
file = sys .stderr ,
@@ -342,7 +336,7 @@ if __name__ == "__main__":
342
336
]
343
337
opj = os .path .join
344
338
345
- if args .no_packaging :
339
+ if args .sample_directory == "_" : # will skip producing a zip file
346
340
sys .exit (0 )
347
341
348
342
for root , dirs , files in os .walk (args .sample_directory ):
You can’t perform that action at this time.
0 commit comments