katt-0.2.0.3: Client for the Kattis judge system.

Safe HaskellNone

Utils.Katt.Upload

Description

Upload submodule providing submissions of solutions and parsing of results.

A submission is done by including all recursively found files and filtering using a file filter given as an argument. This is followed by polling for a submission result until some final submission state has been reached (e.g. accepted).

Currently multipart data upload is implemented since https-streams (the HTTP client being used) does not support it (yet?).

Synopsis

Documentation

makeSubmission :: [String] -> ConfigEnv IO ()Source

Make a submission of the project in the working directory. Accepts a list of filters on the form +file1 -file2 .., which are taken into account when locating all the source files. +file implies adding the specified file. -file implies removing the specified file.

In addition to the filters, all recursively found source code files will be included in the submission.