Moved most source files in separate directory.
h3rald h3rald@h3rald.com
Sun, 01 Feb 2015 18:41:36 +0100
11 files changed,
7 insertions(+),
6 deletions(-)
M
cli.nim
→
lib/cli.nim
@@ -17,6 +17,7 @@ Options:
-a, --address Specify address (default: 0.0.0.0). -h, --help Display this message. -p, --port Specify port number (default: 70700). + -r, --readonly Allow only data retrieval operations. --pack Pack the specified directory (Store all its contents). --unpack Unpack the previously-packed specified directory to the current directory. -v, --version Display the program version.
M
contenttypes.nim
→
lib/contenttypes.nim
@@ -3,7 +3,7 @@
proc loadContentTypes(): StringTableRef = result = newStringTable(modeCaseInsensitive) - const raw_json = "contenttypes.json".slurp + const raw_json = "lib/contenttypes.json".slurp let json = raw_json.parseJson for item in json.items: for pair in item.pairs:
M
litestore.nim
→
litestore.nim
@@ -10,11 +10,11 @@ pegs,
strtabs, base64 import - types, - utils, - core, - cli, - server + lib/types, + lib/utils, + lib/core, + lib/cli, + lib/server from asyncdispatch import runForever