/ config.nims
config.nims
1 task build, "Compile the YAML module into a library": 2 --app:lib 3 --d:release 4 setCommand "c", "yaml" 5 6 task test, "Run all tests": 7 --r 8 --verbosity:0 9 setCommand "c", "test/tests" 10 11 task lexerTests, "Run lexer tests": 12 --r 13 --verbosity:0 14 setCommand "c", "test/tlex" 15 16 task parserTests, "Run parser tests": 17 --r 18 --verbosity:0 19 setCommand "c", "test/tparser" 20 21 task jsonTests, "Run JSON tests": 22 --r 23 --verbosity:0 24 setCommand "c", "test/tjson" 25 26 task domTests, "Run DOM tests": 27 --r 28 --verbosity:0 29 setCommand "c", "test/tdom" 30 31 task nativeTests, "Run native value tests": 32 --r 33 --verbosity:0 34 setCommand "c", "test/tnative" 35 36 task quickstartTests, "Run quickstart tests": 37 --r 38 --verbosity:0 39 setCommand "c", "test/tquickstart" 40 41 task hintsTests, "Run hints tests": 42 --r 43 --verbosity:0 44 setCommand "c", "test/thints" 45 46 task presenterTests, "Run presenter tests": 47 --r 48 --verbosity:0 49 setCommand "c", "test/tpresenter" 50 51 task bench, "Benchmarking": 52 --r 53 --w:off 54 --hints:off 55 --d:release 56 setCommand "c", "bench/bench" 57 58 task clean, "Remove all generated files": 59 exec "rm -rf libyaml.* test/tests test/parsing test/lexing bench/json docout" 60 setCommand "nop" 61 62 task testSuiteEvents, "Compile the testSuiteEvents tool": 63 --d:release 64 setCommand "c", "tools/testSuiteEvents"