Skip to content

Commit

Permalink
Removed obsolete entries in config.nims
Browse files Browse the repository at this point in the history
  • Loading branch information
flyx committed Dec 9, 2023
1 parent c509953 commit da5d37e
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -48,28 +48,6 @@ task presenterTests, "Run presenter tests":
--verbosity:0
setCommand "c", "test/tpresenter"

task documentation, "Generate documentation":
exec "mkdir -p docout"
withDir "doc":
exec r"nim c rstPreproc"
exec r"./rstPreproc -o:tmp.rst index.txt"
exec r"nim rst2html -o:../docout/index.html tmp.rst"
exec r"./rstPreproc -o:tmp.rst api.txt"
exec r"nim rst2html -o:../docout/api.html tmp.rst"
exec r"./rstPreproc -o:tmp.rst serialization.txt"
exec r"nim rst2html -o:../docout/serialization.html tmp.rst"
exec r"nim rst2html -o:../docout/testing.html testing.rst"
exec r"nim rst2html -o:../docout/schema.html schema.rst"
exec r"nim rst2html -o:../docout/migrating.html migrating.rst"
exec "cp docutils.css style.css processing.svg github-mark-white.svg ../docout"
exec r"nim doc2 -o:docout/yaml.html --docSeeSrcUrl:https://github.com/flyx/NimYAML/blob/`git log -n 1 --format=%H` yaml"
for file in listFiles("yaml"):
let packageName = file[5..^5]
exec r"nim doc2 -o:docout/yaml." & packageName &
".html --docSeeSrcUrl:https://github.com/flyx/NimYAML/blob/yaml/`git log -n 1 --format=%H` " &
file
setCommand "nop"

task bench, "Benchmarking":
--r
--w:off
Expand All @@ -81,11 +59,6 @@ task clean, "Remove all generated files":
exec "rm -rf libyaml.* test/tests test/parsing test/lexing bench/json docout"
setCommand "nop"

task server, "Compile server daemon":
--d:release
--stackTrace
setCommand "c", "server/server"

task testSuiteEvents, "Compile the testSuiteEvents tool":
--d:release
setCommand "c", "tools/testSuiteEvents"

0 comments on commit da5d37e

Please sign in to comment.