diff --git a/build.sh b/build.sh index a62d04a..fe21729 100755 --- a/build.sh +++ b/build.sh @@ -21,7 +21,7 @@ rm -Rf "${sourceDir}/benchmarks" rm "${sourceDir}/util/testutil.cc" # Prelude: -cat "${root}/prelude.nim" > "${output}" +cat "${root}/leveldb/prelude.nim" > "${output}" echo >> "${output}" # assemble files to be compiled: diff --git a/leveldb.nimble b/leveldb.nimble index 41a06b6..9ae390f 100644 --- a/leveldb.nimble +++ b/leveldb.nimble @@ -5,9 +5,10 @@ author = "Michał Zieliński" description = "LevelDB wrapper for Nim" license = "MIT" bin = @["leveldbtool"] -installExt = @["nim", "cc", "h", "c", "cpp"] -skipDirs = @["tests"] - +# installExt = @["nim", "cc", "h", "c", "cpp"] +installDirs = @["build", "leveldb", "vendor"] +installFiles = @["leveldb.nim"] +#"leveldbtool.nim", "prelude.nim"] # Dependencies diff --git a/prelude.nim b/leveldb/prelude.nim similarity index 100% rename from prelude.nim rename to leveldb/prelude.nim