Skip to content

Commit 9766907

Browse files
author
Martin Jonáš
committed
Generate submission data only if there are submissions.
1 parent a82546f commit 9766907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ submission-doc: submission-generation
5555

5656
participant-data:
5757
@echo "🚀 Generating participant data to $(PARTICIPANT_DATA_FILE)"
58-
@poetry run smtcomp show-json submissions/*.json $(PARTICIPANT_DATA_FILE)
58+
@if [ -e "submissions/*.json" ]; then poetry run smtcomp show-json submissions/*.json $(PARTICIPANT_DATA_FILE); fi
5959

6060
track-data:
6161
@echo "🚀 Generating track data to $(TRACK_DATA_FILE)"

0 commit comments

Comments
 (0)