2015-12-28 21:03:16 +00:00
|
|
|
task build, "Compile the YAML module into a library":
|
2015-12-28 21:13:14 +00:00
|
|
|
--app:lib
|
|
|
|
--d:release
|
|
|
|
setCommand "c", "yaml"
|
2015-12-28 21:03:16 +00:00
|
|
|
|
|
|
|
task tests, "Run all tests":
|
2015-12-28 21:13:14 +00:00
|
|
|
--r
|
|
|
|
--verbosity:0
|
|
|
|
setCommand "c", "test/tests"
|
2015-12-28 21:03:16 +00:00
|
|
|
|
|
|
|
task lexerTests, "Run lexer tests":
|
2015-12-28 21:13:14 +00:00
|
|
|
--r
|
|
|
|
--verbosity:0
|
|
|
|
setCommand "c", "test/lexing"
|
2015-12-28 21:03:16 +00:00
|
|
|
|
|
|
|
task parserTests, "Run parser tests":
|
2015-12-28 21:13:14 +00:00
|
|
|
--r
|
|
|
|
--verbosity:0
|
|
|
|
setCommand "c", "test/parsing"
|
2015-12-29 14:09:37 +00:00
|
|
|
|
|
|
|
task serializationTests, "Run serialization tests":
|
|
|
|
--r
|
|
|
|
--verbosity:0
|
|
|
|
setCommand "c", "test/serializing"
|
|
|
|
|
2015-12-28 21:13:14 +00:00
|
|
|
task doc, "Generate documentation":
|
|
|
|
setCommand "doc2", "yaml"
|
|
|
|
|
2015-12-28 23:14:47 +00:00
|
|
|
task bench, "Benchmarking":
|
|
|
|
--d:release
|
|
|
|
--r
|
|
|
|
setCommand "c", "bench/json"
|
|
|
|
|
2015-12-28 21:13:14 +00:00
|
|
|
task clean, "Remove all generated files":
|
|
|
|
exec "rm -f yaml.html libyaml.* test/tests test/parsing test/lexing"
|
|
|
|
setCommand "nop"
|