Closed StardustDL closed 5 years ago
To improve file support, add these:
WorkItem
instead of str
for currentFile
new -d --dir
command, to create a directory for one work-item.new -c --config
to create specific file config.new -t --test
to create test cases, only support for directory item.
data
directory, and add some config files.judge
commandThese functions need more time to realize. Maybe in version 0.0.3
or 0.0.4
, full realization in 0.0.4
, the next alpha version.
Now this commit add directory support: 1f84cad0f0a729d72e0cc7eac6067f0a6871fe30.
We will not support multi-tests for now, but you can use directory work-item and write your own judging script.
Attention: this feature is pre-alpha, that means it may have bugs and it is not stable enough.
Code review is planning.
How about use diff to judge program, just like on online judge. ( use
judge
command )Maybe add file's unique config, or directory work-item? Like
a.c.config
or/a/.config
How to organize data is also an important problem.