Commit Graph

14 Commits

Author SHA1 Message Date
Louis Gesbert
30297b27b8 Add dune rule to build tests
This allows a new magic command: `dune test -w`
2022-05-25 18:33:20 +02:00
Louis Gesbert
f17875f90e Formatting: some other personal preferences 2022-05-11 16:25:49 +02:00
Louis Gesbert
74c5629153 Formatting: reduce extra match-case indentation
2 is plenty enough, esp. for nested matches :)
2022-05-11 16:25:20 +02:00
Denis Merigoux
5bd66142a6
Big reformatting
ocamlformat 0.19.0 -> 0.20.1
100 -> 80 columns per line
Reestablished @emilerolley's smart fun break
2022-03-08 15:03:14 +01:00
Emile Rolley
48118f46bb test(clerk): add test cases 2022-02-26 19:49:13 +01:00
Emile Rolley
4a83360220 refactor(clerk): change to_string to format functions 2022-02-25 12:30:29 +01:00
Emile Rolley
da6ed6b044 docs(clerk): add documentation about clerk and the Ninja_utils module 2022-02-24 14:05:05 +01:00
Denis Merigoux
ccd90bcbf6
Display nice finish message when ending 2022-02-14 14:43:38 +01:00
Emile Rolley
760930942c docs(clerk): add comments to ninja_utils.ml 2022-02-10 12:24:35 +01:00
Emile Rolley
f5b9cd9794 refactor(clerk): add test_file_* build to factorize all scope tests for one given file 2022-02-08 14:29:12 +01:00
Emile Rolley
f79c652f82 test(clerk): add minimal unit testing structure 2022-02-08 12:45:52 +01:00
Emile Rolley
c640a3eeab fix(clerk): unpath the build outputs to avoid writing corresponding files 2022-02-08 12:22:48 +01:00
Emile Rolley
22e5e4d1b0 feat(clerk): ninja backend for single test file
+ ninja_utils.ml: implement helper functions for basic ninja rules and builds.
  + clerk.ml: for single test files, clerk now generates the wanted ninja.build file
    before executing ninja.
2022-02-05 21:08:25 +01:00
Emile Rolley
9888756503 feat(clerk): add basic ninja rule construction for test_scope 2022-02-05 20:50:42 +01:00