all repos — litestore @ 805cf26c36f28bc2212f918ce630bf411835abca

A minimalist nosql document store.

All CLI options should now work as expected.
* Closes #30
h3rald h3rald@h3rald.com
Fri, 09 Oct 2015 20:56:02 +0200
commit

805cf26c36f28bc2212f918ce630bf411835abca

parent

d364b2ae0124100f5de2ba96608ac9493f5ca5ae

4 files changed, 7 insertions(+), 6 deletions(-)

jump to
M LiteStore_UserGuide.htmLiteStore_UserGuide.htm

@@ -412,6 +412,7 @@ <ul>

<li><a href="https://github.com/h3rald/litestore/releases/download/v1.0.1litestore_v1.0.1_macosx_x64.zip">LiteStore for Mac OS X (x64)</a> &ndash; Compiled on OS X Yosemite (LLVM CLANG 6.0)</li> <li><a href="https://github.com/h3rald/litestore/releases/download/v1.0.1/litestore_v1.0.1_windows_x64.zip">LiteStore for Windows (x64)</a> &ndash; Cross-compiled on OS X Yosemite (MinGW-w64 GCC 4.8.2)</li> <li><a href="https://github.com/h3rald/litestore/releases/download/v1.0.1/litestore_v1.0.1_windows_x86.zip">LiteStore for Windows (x86)</a> &ndash; Cross-compiled on OS X Yosemite (MinGW-w64 GCC 4.8.2)</li> +<li><a href="https://github.com/h3rald/litestore/releases/download/v1.0.1/litestore_v1.0.1_linux_x64.zip">LiteStore for Linux (x64)</a> &ndash; Cross-compiled on OS X Yosemite (GNU GCC 4.8.1)</li> <li><a href="https://github.com/h3rald/litestore/releases/download/v1.0.1/litestore_v1.0.1_linux_x86.zip">LiteStore for Linux (x86)</a> &ndash; Cross-compiled on OS X Yosemite (GNU GCC 4.8.1)</li> <li><a href="https://github.com/h3rald/litestore/releases/download/v1.0.1/litestore_v1.0.1_linux_arm.zip">LiteStore for Linux (ARM)</a> &ndash; Cross-compiled on OS X Yosemite (GNU GCC 4.8.2)</li> </ul>
M lib/cli.nimlib/cli.nim

@@ -116,6 +116,9 @@ if directory == nil and (operation in [opDelete, opImport, opExport] or mount):

fail(105, "Directory option not specified.") LS.operation = operation +LS.address = address +LS.port = port +LS.file = file LS.directory = directory LS.readonly = readonly LS.favicon = favicon
M lib/types.nimlib/types.nim

@@ -86,9 +86,6 @@ # Initialize LiteStore

var LS* {.threadvar.}: LiteStore var TAB_HEADERS* {.threadvar.}: array[0..2, (string, string)] -LS.port = port -LS.address = address -LS.file = file LS.appversion = version LS.appname = appname
M nakefile.nimnakefile.nim

@@ -39,10 +39,10 @@ direshell compile, macosx_x64, ls_file

task "release", "Release LiteStore": echo "Generating Guide..." - dirshell "./build_guide" + direshell "./build_guide" echo "Preparing Data Store preloaded with Admin App..." - dirshell "rm " & db - dirshell "litestore -d:admin import" + direshell "rm " & db + direshell "litestore -d:admin import" echo "\n\n\n WINDOWS - x86:\n\n" runTask "windows-x86-build" direshell zip, filename_for("windows", "x86"), ls & ".exe", doc, db