Skip to content

Commit

Permalink
Fix #321: export all known extensions for testdata, not just .in and …
Browse files Browse the repository at this point in the history
….ans
  • Loading branch information
RagnarGrootKoerkamp committed Oct 31, 2023
1 parent 641f11b commit 07ab082
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ def build_problem_zip(problem, output, statement_language):
('submissions/*/**/*', False),
('attachments/**/*', False),
]
for ext in config.KNOWN_DATA_EXTENSIONS:
files += [
(f'data/sample/**/*.{ext}', False),
(f'data/secret/**/*.{ext}', False),
]

if 'custom' in problem.settings.validation:
files.append(('output_validators/**/*', True))
Expand Down

0 comments on commit 07ab082

Please sign in to comment.