learn-ocaml icon indicating copy to clipboard operation
learn-ocaml copied to clipboard

Partial building of exercises session.

Open lyrm opened this issue 7 years ago • 3 comments

In the context of a large corpus of exercises, it will be useful to be able to build either one single exercise or every exercises except one. Will it be possible to add such an option ?

lyrm avatar Jul 17 '18 12:07 lyrm

I'll look into it, I'm currently working on refactoring the repository processing.

picdc avatar Jul 17 '18 13:07 picdc

Actually being able to pass a list of exercises to build would be nice.

yurug avatar Jul 17 '18 13:07 yurug

PR #74 adresses this issue. It was already possible to grade a set of exercises learn-ocaml grade -e <ex1,ex2...>, but they could not be tested in the web application.

One possible improvement after #74 would be to filter out some exercises, like we do for compilers warnings: -a, +a, +ex1-ex2, for example. But I think it might be a bit overkill since index.json describes the set of exercises to build.

picdc avatar Aug 09 '18 14:08 picdc