Skip to content

Commit

Permalink
Uploader: ignore the score files
Browse files Browse the repository at this point in the history
  • Loading branch information
gsomix committed Jul 8, 2023
1 parent 72df74e commit 94a92ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Icfpc2023/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ let main(args: string[]): int =
let solutions = Directory.GetFiles(solutionsDir, "*.json")
for solution in solutions do
let filename = Path.GetFileName solution
if not(filename.EndsWith(".score.json")) then
if not(filename.EndsWith(".meta.json")) then
printfn $"Uploading solution \"{filename}\""
let problemNumber = Path.GetFileNameWithoutExtension solution |> int
let submission = { ProblemId = problemNumber; Contents = File.ReadAllText(solution) }
Expand Down

0 comments on commit 94a92ff

Please sign in to comment.