Created src/ directory and moved msgpack4nim.nim and msgpack4nim dir
into it.
Added srcDir = "src" to msgpack4nim.nimble.
Changed module imports in examples and tests:
Separated stdlib imports and msgpack4nim imports.
Used std/ prefix for stdlib modules.
Sorted module names.
Added config.nims to examples/ and tests/ to set source path
and output dir for examples and test binaries.
Removed installFiles = @["msgpack4nim.nim"] from msgpack4nim.nimble.
Added build/ dir to git ignore file.
Changed tests/test_json.nim to use staticRead() to read JSON and
msgpack test input files, so that test_json binary has run-time access
to their contents regardless of location and doesn't need to be saved in
tests directory.
src/
directory and movedmsgpack4nim.nim
andmsgpack4nim
dir into it.srcDir = "src"
tomsgpack4nim.nimble
.msgpack4nim
imports.std/
prefix for stdlib modules.config.nims
toexamples/
andtests/
to set source path and output dir for examples and test binaries.installFiles = @["msgpack4nim.nim"]
frommsgpack4nim.nimble
.build/
dir to git ignore file.tests/test_json.nim
to usestaticRead()
to read JSON and msgpack test input files, so thattest_json
binary has run-time access to their contents regardless of location and doesn't need to be saved intests
directory.msgpack.org.md
file.